A game with react? Episode 2: collision management
Okay, so last time, we built a grid and added a component able to move on said grid following keyboard input from the user. If you did not read the first blogpost, go here first, might be worth it:
https://clementbenezech.hashnode.dev/hooksa-game-wi...
clementbenezech.hashnode.dev9 min read