Skip to content

Fix checkered surface for a different numbers of blocks #19

@douglascdev

Description

@douglascdev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions