Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7185)

Issue 233400043: ShadPython - 4 - Alexander Timin - CS-2

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 11 months ago by alexander.timin
Modified:
8 years, 11 months ago
Reviewers:
shad.python
Visibility:
Public.

Description

ShadPython - 4 - Alexander Timin - CS-2

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -0 lines) Patch
M main.py View 1 chunk +57 lines, -0 lines 0 comments Download
M ocean.py View 1 chunk +230 lines, -0 lines 1 comment Download
M ocean_ut.py View 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 2
alexander.timin
8 years, 11 months ago (2015-05-13 00:24:23 UTC) #1
shad.python
8 years, 11 months ago (2015-05-20 21:29:26 UTC) #2
https://codereview.appspot.com/233400043/diff/1/ocean.py
File ocean.py (right):

https://codereview.appspot.com/233400043/diff/1/ocean.py#newcode198
ocean.py:198: can_eat = (isinstance(self[pos_to], Herbivore) and
Кажется, что "поедание" было бы удобнее обрабатывать прямо в
Carnivore.simulate_step() - там это более естественно и не нужно определять с
помощью специальных проверок.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b