Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pnpranavrao committed Jan 31, 2012
1 parent 48f4e6d commit aab65f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ At people who have been directed to this project to learn about Kivy,the framewo
* to an O(n) implementation which was horribly innacurate(It used to check for occupied areas around a bounding box near each snake's head)
* To finally maintain a central boolean array of occupied places. This is so simple and efficient and remains so, even when I add more snakes into the game.I should probably admit that Stack Overflow nudged me in this direction. Also python must have a O(log n) complexity look up a particular index of a 1D array. So,my algo has the same complexity. :)

I would never have had this flexibility and agility in core logic in any other language than Python.
I would never have had this flexibility and agility in core logic in any other language than Python.

* The right and left turns in the game are with respect to the current direction of snake. It takes some time to get used to this, especially when the snake is going reverse.

Expand Down

0 comments on commit aab65f4

Please sign in to comment.