Поиск по: -
Поискать по всем серверам
На этой странице приведены все страницы, которые ссылаются на http://kodomo.fbb.msu.ru/hg/snake/annotate/2f56e186e75c/snake.py. Показаны документы 1 - 1 из 1.
1. snake: 2f56e186e75c snake.py
... file . ... Fixed initial value for snake.Rule.direction . ... line source . ... 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 . ... 24 def __init__ ( self , cells , color ): . ... snake = self . ... pattern = {} . ... 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/2f56e186e75c/snake.py -- 33.1 Кб -- 03.02.2013
Похожие документы
Похожие документы
Астронет | Научная сеть | ГАИШ МГУ | Поиск по МГУ | О проекте | Авторам
Комментарии, вопросы? Пишите: info@astronet.ru или сюда