snake does not move at a regular speed
Bug #631582 reported by
Tom Bell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snakes |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The snake moves faster when moving up or down than left or right on widescreen displays due to more character 'cells' in the curses screen. This could/should be regulated somehow.
Related branches
lp:~snakes-game/snakes-game/trunk
(Merged)
description: | updated |
To post a comment you must log in.
We don't have any `sleep` statement, so I guess it must be the poor efficiency of our program thats making the snake go at a normal speed. We'll need to find an alternative to the `sleep` statement that will take into account the time it takes for the program to run so that games will run at the same speed on both fast computers and slow computers. We also better look into the program's efficiency (bug #631702).