Program is inefficient

Bug #631702 reported by Josh Brown
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snakes
Invalid
Medium
Unassigned

Bug Description

The main loop runs at a speed where snake is controllable even when there is no `sleep` statement. This shows that the program is inefficient and taking a long time to run. We need to fix this, otherwise the snake will move slower for users with less powerful computers.

Related branches

Revision history for this message
Josh Brown (joshbrown) wrote :

If I am correct about there being an efficiency issue I don't think it'll badly effect most users but will still make the game look unprofessional. I think this may be a hard problem to solve, however.

Changed in snakes-game:
importance: Undecided → Medium
milestone: none → 1.0
status: New → Incomplete
Revision history for this message
Josh Brown (joshbrown) wrote :

`curses.halfdelay()` delays the program, so there's no reason to suspect an efficiency issue.

Changed in snakes-game:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.