|
|
@ -17,7 +17,7 @@ DELAY = 300 |
|
|
|
DEAD = 0 |
|
|
|
DEAD = 0 |
|
|
|
DEAD_COLOR = (0, 0, 0) |
|
|
|
DEAD_COLOR = (0, 0, 0) |
|
|
|
ALIVE = 1 |
|
|
|
ALIVE = 1 |
|
|
|
ALIVE_COLOR = (0, 0, 255) |
|
|
|
ALIVE_COLOR = (r.randint(0, 255), r.randint(0, 255), r.randint(0, 255)) |
|
|
|
|
|
|
|
|
|
|
|
dimension = frame.FrameDimension(WIDTH, HEIGHT, COLOR_DEPTH, COLORS) |
|
|
|
dimension = frame.FrameDimension(WIDTH, HEIGHT, COLOR_DEPTH, COLORS) |
|
|
|
game_of_life_animation = animation.Animation(dimension) |
|
|
|
game_of_life_animation = animation.Animation(dimension) |
|
|
|