I made a simple game of snake with Javascript, using the class removal and adding to make the snake move. You are supposed to lose when the snake hit the wall of the board, then