Home > Back-end >  Trying to control movement in a game with arrow keys and and buttons with JS
Trying to control movement in a game with arrow keys and and buttons with JS

Time:12-03

This is a snake game but I'm trying to let users control the snake with arrow keys and clickable buttons. The arrow keys work fine but i can't get all the buttons to work, one button will work and then nothing else

  • Related