Skip to content

No pieces spawn after modularizing #5

@KeeWolf

Description

@KeeWolf

I tried turning the project structure into modules, which I was mostly successful with, but afterwards at least one nasty bug showed up. The pieces no longer spawn on the grid, and therefore the game overall doesn't progress.

It seems to have to do with activePiece.dropBuffer not updating and instead being NaN. Though I have no idea why.

I committed it to a new branch called modularize for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions