During some (not all) play instances, the snake randomly disappears from the grid. This has something to do with a sudden failure to access the classList of a cell (or multiple cells) in functions like eraseSnake, drawBlock, drawFood, etc. during runtime.
During some (not all) play instances, the snake randomly disappears from the grid. This has something to do with a sudden failure to access the
classListof a cell (or multiple cells) in functions likeeraseSnake,drawBlock,drawFood, etc. during runtime.