terminal snake game: fix bug
terminal snake game: fix bug: a task in smol-software-harbor (Harbor dataset). In the snake game the snake leaves the board instead of reappearing on the opposite side ( test wrap fails). Fix Snake.step in snake/game.py so it wraps around the edges, as documented. Run python3 -m pytest -q .
The task
In the snake game the snake leaves the board instead of reappearing on the opposite side (`test_wrap` fails). Fix `Snake.step` in `snake/game.py` so it wraps around the edges, as documented. Run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.