Lab
Snake game created with Claude 3.5 Sonnet.
Create the game snake using React and make it functional
start with a slower speed and increase the speed after every collision with food
great! create the same game but instead of React use Vue.js
Fix this error: [nuxt] `setInterval` should not be used on the server. Consider wrapping it with an `onNuxtReady`, `onBeforeMount` or `onMounted` lifecycle hook, or ensure you only call it in the browser by checking `false`.
Snake Game
Score: 0
Speed: 3 moves/second