Skip to content

Nextjs Snake Game where you can play from your PC, laptop, cell phone and tablet.

License

Notifications You must be signed in to change notification settings

diegoperea20/Nextjs-Snake-Game

Repository files navigation

Nextjs Snake Game

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.

Step1

Step2


Fronted Nextjs Options for do it:

This is a Next.js project bootstrapped with create-next-app.

Getting Started

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.

Resolve : Error Nextjs Parsing error: Cannot find module 'next/babel'

Put this code in .eslintrc.json

{
  "extends": ["next/babel","next/core-web-vitals"]
}

Created by Diego Ivan Perea Montealegre

Releases

No releases published

Packages

No packages published