Skip to content

Commit

Permalink
fix: change default location to avoid visual "bug"
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed May 10, 2024
1 parent 2a1e9b6 commit 14c6cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snake.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ def __init__(
self._head_char = head_char
self._max_speed = max_speed
self._head = Location(5, 5)
self._body: deque[Location] = deque((Location(5, 4),))
self._body: deque[Location] = deque((Location(4, 5),))
for _ in range(cheat + 1):
self._body.append(Location(5, 3))
self._body.append(Location(3, 5))

def display(self, stdscr: curses.window) -> None:
stdscr.addch(
Expand Down

0 comments on commit 14c6cdf

Please sign in to comment.