Nextjs Snake Game where you can play from your PC, laptop, cell phone and tablet.
On PC and laptop you can use the keyboard keys ⬅️⬆️⬇️➡️ and on cell phones and tablets you can press these keys but on the buttons shown on the screen.
Fronted Nextjs Options for do it:
This is a Next.js project bootstrapped with create-next-app
.
Nodejs version v20.10.0 and Next.js version v14.2.3
First
npm install
run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
Put this code in .eslintrc.json
{
"extends": ["next/babel","next/core-web-vitals"]
}
Created by Diego Ivan Perea Montealegre