Closed jamespeilunli closed 3 years ago
closes #61
See #61 for details.
It turns out I didn't need to use collision detection. I just had to draw back the tetromino onto the gameboard inside update_ghost_tetromino in game.rb (kinda like put_tetromino in tetromino.rb).
update_ghost_tetromino
game.rb
put_tetromino
tetromino.rb
closes #61
See #61 for details.
It turns out I didn't need to use collision detection. I just had to draw back the tetromino onto the gameboard inside
update_ghost_tetromino
ingame.rb
(kinda likeput_tetromino
intetromino.rb
).