-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
41 lines (31 loc) · 1.99 KB
/
game.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Beadandó - Próba oldal</title>
<link href="game.css" rel="stylesheet" media="screen">
<link href="https://fonts.googleapis.com/css?family=Titillium+Web" rel="stylesheet">
</head>
<body>
<h1>Robotkaland</h1>
<div id="menu" class="menu">
<form action="palyak.php">
<input type="submit" class="button" value="Vissza" />
</form>
<br>
<h2>Válassz pályát!</h2>
<input id="smallLevel" type="button" class="button" value="kicsi">
<input id="largeLevel" type="button" class="button" value="nagy"><br>
<img src="wall_e.jpg" alt="wall-e">
<h2>Story</h2>
<p>Wall-E, a kis robot egy hatalmas űrhajó alsó szintjén a gépházban dolgozik. Egy nap az űrhajó meteorzáporba kerül, és az egyik meteor lyukat üt az űrhajó testén. A sérülés olyan veszélyes, hogy az automata védelmi rendszer azonnal lezárja ezt a szintet, így emberek nem tudnak a gépházba bemenni. Egyedül Wall-E tartózkodik a gépházban, akinek utasításokat adhatunk. Wall-E memóriája azonban véges, így egyszerre csak 5 parancsot tud megjegyezni és végrehajtani, majd újra és újra be kell őt programozni a következő lépésekre. Ráadásul a meteor a kommunikációs egységet is megrongálta, így mindig csak 9 véletlenszerű utasítás közül választhatjuk ki az 5 parancsot. A dolgot azonban a terep is nehezíti: ami a mindennapi munkát segítette, az most itt akár hátráltathatja is a haladást. A gépházban ugyanis futószalagok, forgatók és gödrök vannak, amelyek befolyásolják a robot mozgását. Segíts Wall-E-nak eljutni a gépházban a sérülés helyére és megjavítani azt!</p>
</div>
<p id="timer" class="timer"></p>
<table id="board" class="board"></table>
<br>
<table id="cards" class="board"></table>
<table id="memory" class="board"></table>
<p id="text"></p>
<script type="text/javascript" src="game.js"></script>
</body>
</html>