snake
changeset 2:597c0ddea0ab
check automatic close, close #6
author | Alex Martynov <martiran@kodomo.fbb.msu.ru> |
---|---|
date | Wed, 08 Dec 2010 02:17:48 +0300 |
parents | 97e55c13fbda |
children | dd67c8c3ea7a f1a508e855ce |
files | engine.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/engine.py Wed Dec 08 02:15:04 2010 +0300 1.2 +++ b/engine.py Wed Dec 08 02:17:48 2010 +0300 1.3 @@ -1,5 +1,3 @@ 1.4 - 1.5 - 1.6 1.7 1.8 class Cell (object): 1.9 @@ -19,6 +17,7 @@ 1.10 self.type = 'empty' 1.11 return 1.12 1.13 + 1.14 class Engine (object): 1.15 def __init__ (canvas, w, h, snake_amount = 4): 1.16 self.canvas = canvas