Plan for snake game Snake is a Queue in javascript every t ms -> enqueue + dequeue if food item -> increase score and prevent dequeue if snake item -> game over maintain current direction variable