Поиск по: -
Поискать по всем серверам
На этой странице приведены все страницы, которые ссылаются на http://kodomo.fbb.msu.ru/hg/snake/annotate/3619305694ad/snake.py. Показаны документы 1 - 1 из 1.
1. snake: 3619305694ad snake.py
... file . ... file log . ... line source . 1 """Guts of snakes.""" . ... 6 """Remove comments and junk spaces from line of snake definition file.""" . ... 17 - `cells` -- list of cells belonging to the snake The first of these cells . ... 21 - `rules` -- a list of Rule objects . ... 24 def __init__ ( self , cells , color ): . ... 83 assert len ( line ) == 8 , "Rule lines must be exactly 7 chars long" . ... 92 def parse_cell ( self , x , y , char ): . 93 """Parse definition of cell in rule file. ...
[
Сохраненная копия
]
Ссылки http://kodomo.fbb.msu.ru/hg/snake/file/3619305694ad/snake.py -- 33.2 Кб -- 03.02.2013
Похожие документы
Похожие документы
Астронет | Научная сеть | ГАИШ МГУ | Поиск по МГУ | О проекте | Авторам
Комментарии, вопросы? Пишите: info@astronet.ru или сюда