Skip to content

Commit

Permalink
first import
Browse files Browse the repository at this point in the history
  • Loading branch information
lookee committed Feb 14, 2011
0 parents commit eeddf0d
Show file tree
Hide file tree
Showing 460 changed files with 6,914 additions and 0 deletions.
621 changes: 621 additions & 0 deletions COPYING

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions README
@@ -0,0 +1,73 @@
-------------------------------------------------------------


jaGOF - John Conway's Game of Life
release: 0.1.0

Copyright (C) 2011 Luca Amore <luca.amore at gmail.com>

relased: 02/14/2011


-------------------------------------------------------------

GOF is based on:

python-pygame - SDL bindings for games development in Python

-------------------------------------------------------------
LICENSE

jaGOF is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

jaGOF is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GOF. If not, see <http://www.gnu.org/licenses/>.

Luca Amore
luca.amore at gmail.com
http://www.lucaamore.com

-------------------------------------------------------------
RESOURCES

for more information about Conway's Game of Life, visit:

http://www.conwaylife.com/wiki
http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

-------------------------------------------------------------
USAGE

./jaGof

or

./jaGof <filename>

to read seed file with initial pattern in .cell format

-------------------------------------------------------------
CONFIGURATION FILE

life.conf

-------------------------------------------------------------
SEED PATTERNS

In the dir seeds there are 400+ seed files downloaded from:
http://www.bitstorm.org/gameoflife/lexicon/
thanks to pylife project:
https://github.com/durden/pylife

You can found interesting and seed patterns here:
http://www.conwaylife.com/wiki

Have fun!
26 changes: 26 additions & 0 deletions jaGof.conf
@@ -0,0 +1,26 @@
####################
# configuration file
####################

#-----------------
# life board size
#-----------------
[life]
sizex=80
sizey=50

#-------------------
# screen resolution
#-------------------
[screen]
width=800
heigth=500

#------------------
# animation delays
#------------------
[animation]
waitTime_ms=100
waitTimeMin_ms=10
waitTimeMax_ms=1000
waitTimeStep_ms=25
1 change: 1 addition & 0 deletions jaGof.py
157 changes: 157 additions & 0 deletions other/breeder.cell

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions seeds/$rats.cells
@@ -0,0 +1,13 @@
!Name: $rats
!
.....OO.....
......O.....
....O.......
OO.O.OOOO...
OO.O.....O.O
...O..OOO.OO
...O....O...
....OOO.O...
.......O....
......O.....
......OO....
13 changes: 13 additions & 0 deletions seeds/1-2-3-4.cells
@@ -0,0 +1,13 @@
!Name: 1-2-3-4
!
.....O.....
....O.O....
...O.O.O...
...O...O...
OO.O.O.O.OO
O.O.....O.O
...OOOOO...
...........
.....O.....
....O.O....
.....O.....
11 changes: 11 additions & 0 deletions seeds/1-2-3.cells
@@ -0,0 +1,11 @@
!Name: 1-2-3
!
..OO......
O..O......
OO.O.OO...
.O.O..O...
.O....O.OO
..OOO.O.OO
.....O....
....O.....
....OO....
14 changes: 14 additions & 0 deletions seeds/101.cells
@@ -0,0 +1,14 @@
!Name: 101
!
....OO......OO....
...O.O......O.O...
...O..........O...
OO.O..........O.OO
OO.O.O..OO..O.O.OO
...O.O.O..O.O.O...
...O.O.O..O.O.O...
OO.O.O..OO..O.O.OO
OO.O..........O.OO
...O..........O...
...O.O......O.O...
....OO......OO....
7 changes: 7 additions & 0 deletions seeds/17c45_spaceship.cells
@@ -0,0 +1,7 @@
!Name: 17c45_spaceship
!
...............O
O.............OO
O............OO.
O.............OO
...............O
11 changes: 11 additions & 0 deletions seeds/4-8-12_diamond.cells
@@ -0,0 +1,11 @@
!Name: 4-8-12_diamond
!
....OOOO....
............
..OOOOOOOO..
............
OOOOOOOOOOOO
............
..OOOOOOOO..
............
....OOOO....
10 changes: 10 additions & 0 deletions seeds/4_boats.cells
@@ -0,0 +1,10 @@
!Name: 4_boats
!
...O....
..O.O...
.O.OO...
O.O..OO.
.OO..O.O
...OO.O.
...O.O..
....O...
14 changes: 14 additions & 0 deletions seeds/AK47_reaction.cells
@@ -0,0 +1,14 @@
!Name: AK47_reaction
!
.....O....
....O.O...
...O...O..
...O...O..
...O...O..
....O.O...
.....O....
..........
..OO......
...O......
OOO.....OO
O.......OO
12 changes: 12 additions & 0 deletions seeds/A_for_all.cells
@@ -0,0 +1,12 @@
!Name: A_for_all
!
....OO....
...O..O...
...OOOO...
.O.O..O.O.
O........O
O........O
.O.O..O.O.
...OOOO...
...O..O...
....OO....
21 changes: 21 additions & 0 deletions seeds/Achims_p144.cells
@@ -0,0 +1,21 @@
!Name: Achims_p144
!
OO........................OO
OO........................OO
..................OO........
.................O..O.......
..................OO........
..............O.............
.............O.O............
............O...O...........
............O..O............
............................
............O..O............
...........O...O............
............O.O.............
.............O..............
........OO..................
.......O..O.................
........OO..................
OO........................OO
OO........................OO
15 changes: 15 additions & 0 deletions seeds/Achims_p16.cells
@@ -0,0 +1,15 @@
!Name: Achims_p16
!
.......OO....
.......O.O...
..O....O.OO..
.OO.....O....
O..O.........
OOO..........
.............
..........OOO
.........O..O
....O.....OO.
..OO.O....O..
...O.O.......
....OO.......
11 changes: 11 additions & 0 deletions seeds/Achims_p4.cells
@@ -0,0 +1,11 @@
!Name: Achims_p4
!
..OO...OO..
.O..O.O..O.
.O.OO.OO.O.
OO.......OO
..O.O.O.O..
OO.......OO
.O.OO.OO.O.
.O..O.O..O.
..OO...OO..
11 changes: 11 additions & 0 deletions seeds/Achims_p8.cells
@@ -0,0 +1,11 @@
!Name: Achims_p8
!
.OO......
O........
.O...O...
.O...OO..
...O.O...
..OO...O.
...O...O.
........O
......OO.
23 changes: 23 additions & 0 deletions seeds/B-52_bomber.cells
@@ -0,0 +1,23 @@
!Name: B-52_bomber
!
.OO....................................
.OO.................O..................
...................O.O............O.O..
....................O............O.....
OO.......OO.......................O..O.
OO.O.....OO.......................O.O.O
...O.......................O.......O..O
...O.......................OO.......OO.
O..O.................OO.....O..........
.OO..................O.................
.....................OOO...............
....................................OO.
....................................OO.
.OO....................................
O..O...................................
O.O.O................O.O....OO.....OO..
.O..O.................OO....OO.....OO.O
.....O............O...O...............O
..O.O............O.O..................O
..................O................O..O
....................................OO.
5 changes: 5 additions & 0 deletions seeds/B-heptomino.cells
@@ -0,0 +1,5 @@
!Name: B-heptomino
!
O.OO
OOO.
.O..
5 changes: 5 additions & 0 deletions seeds/C-heptomino.cells
@@ -0,0 +1,5 @@
!Name: C-heptomino
!
.OOO
OOO.
.O..
14 changes: 14 additions & 0 deletions seeds/Canada_goose.cells
@@ -0,0 +1,14 @@
!Name: Canada_goose
!
OOO..........
O.........OO.
.O......OOO.O
...OO..OO....
....O........
........O....
....OO...O...
...O.O.OO....
...O.O..O.OO.
..O....OO....
..OO.........
..OO.........
14 changes: 14 additions & 0 deletions seeds/Canada_goose2.cells
@@ -0,0 +1,14 @@
!Name: Canada_goose
!
........OO...
.......OO....
.........O...
...........OO
..........O..
.............
.........O..O
.OO.....OO...
OO.....O.....
..O....O.O...
....OO..O....
....OO.......
8 changes: 8 additions & 0 deletions seeds/Cheshire_cat.cells
@@ -0,0 +1,8 @@
!Name: Cheshire_cat
!
.O..O.
.OOOO.
O....O
O.OO.O
O....O
.OOOO.
11 changes: 11 additions & 0 deletions seeds/Coe_ship.cells
@@ -0,0 +1,11 @@
!Name: Coe_ship
!
....OOOOOO
..OO.....O
OO.O.....O
....O...O.
......O...
......OO..
.....OOOO.
.....OO.OO
.......OO.
8 changes: 8 additions & 0 deletions seeds/Coes_p8.cells
@@ -0,0 +1,8 @@
!Name: Coes_p8
!
OO..........
OO..OO......
.....OO.....
....O..O....
.......O..OO
.....O.O..OO

0 comments on commit eeddf0d

Please sign in to comment.