douglascdev / douglascdev/snake
Fix checkered surface for a different numbers of blocks
Open
bug
good first issue
- Dominant language
- Python
- Stars
- 4
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
The checkered_surface function does not work as intended for surfaces with certain numbers of blocks. If you change the number of blocks at the NUM_BLOCKS_Y constant to 10, the checkered surface returned will have straight lines for rows. Fix the function to create checkered surfaces for any size of screen.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.