News for hackers. Stuff that matters.
Re:Tetris Randomizers (2018) by ggorlen on Monday August 14, 2023 @01:26PM (#37123799)
In the "1 Piece history with 1 roll" code, a global variable `piece` is introduced. There should be a `let piece;` at the top of the function body to scope it locally.

There are no comments on this comment yet.