-
Notifications
You must be signed in to change notification settings - Fork 1
/
info.html
65 lines (62 loc) · 4.36 KB
/
info.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utm-8">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title>GAME OF LIFE</title>
<link rel="icon" type="image/x-icon" href="icon.ico">
</head>
<body>
<h1>GAME OF LIFE</h1>
<a href="info2.html">
<img src="cz.png" width="40" height="20" style="vertical-align:middle;margin:-40px 300px" >
</a>
<br>
<p1>The Game of Life is a cellular automaton devised by the British mathematician John Horton Conway in 1970.<br> </p1>
<p2>This is zero-player game. All you can do is to create an initial configuration and observe how it evolves.<br><br></p2>
<br> <b> This app requires MATLAB runtime 9.9 to work! </b>
<br> Download here: <a href=> https://www.mathworks.com/products/compiler/matlab-runtime.html </a> <br><br>
<p3><b>CONTROLS</b><br> </p3>
<img src="btn1.gif" width="124" height="100">
<p4><br> By clicking white(dead) cell you make it black(live)<br><br> Start button will start your game. Quit button will quit the app.<br> Clear button will set all cells to white.<br>Other buttons will create some predefined configuration for the game like so: </p4>
<br>
<img src="btn2.png" width="219" height="175">
<img src="btn3.png" width="219" height="175">
<img src="btn4.png" width="219" height="175">
<p5><br>There are two scales(sliders) wich control number of generated generations and number of randomly generated alive cells.<br> Your selected value on scale must be confirmed via save button under it.<br></p5>
<img src="scales.png" width="506" height="132">
<br><br>
TEXT INPUT button opens new window:<br>
<img src="textinput.png" width="506" height="320"><br>
Here you are able to input your configuration in text format<br>
Character O indicates alive cell and . indicates dead cell.<br>
You can get your inspiration at: <a href="https://conwaylife.com/wiki/Category:Lists_of_patterns"> https://conwaylife.com/wiki/Category:Lists_of_patterns </a><br> <br>
Number of generated generations and number of randomly generated alive cells can be set in previous window<br>
CLOSE button closes the window.<br>
START button runs the game with your configuration.<br>
<img src="exitwindow.png" width="350" height="350"><br>
When your game stops generating close your window in top right corner.
<br><br><br>
<p6><b>RULES</b><br> </p6>
The universe of the Game of Life is two-dimensional orthogonal grid of square cells, each of which is in one of two possible states,live or dead. <br>
Every cell interacts with its eight neighbours, which are the cells that are horizontally, vertically, or diagonally adjacent.<br>
At each step in time, the following transitions occur:<br><br>
1. Any live cell with fewer than two live neighbours dies, as if by underpopulation.<br>
2. Any live cell with two or three live neighbours lives on to the next generation.<br>
3. Any live cell with more than three live neighbours dies, as if by overpopulation.<br>
4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.<br><br>
These rules, which compare the behavior of the automaton to real life, can be condensed into the following:<br><br>
1. Any live cell with two or three live neighbours survives.<br>
2. Any dead cell with three live neighbours becomes a live cell.<br>
3. All other live cells die in the next generation. Similarly, all other dead cells stay dead<br>
<br>
The first generation is created by applying the above rules simultaneously to every cell in the seed, live or dead;<br> births and deaths occur simultaneously, and the discrete moment at which this happens is sometimes called a tick. <br>
Each generation is a pure function of the preceding one. The rules continue to be applied repeatedly to create further generations.<br><br><br><br>
Made by Josef Jehlička, Jakub Zamazal, Philip Otto, Petr Kareš <br>
For CTU in Prague, Faculty of Civil Engineering, Department Of Geomatics, as product of school subject Project - Informatics
<br>
<a href="http://www.wtfpl.net/"><img
src="http://www.wtfpl.net/wp-content/uploads/2012/12/wtfpl-badge-1.png"
width="88" height="31" alt="WTFPL" /></a>
</body>
</html>