Skip to content

A simple and fun web-based Snake Game where you control a snake, eat food, and try to achieve the highest score. Play it now for free!

Notifications You must be signed in to change notification settings

pragusga25/snake-game

Repository files navigation

Snake Game

A classic Snake Game built using Next.js, TypeScript, and Tailwind CSS. Relive the nostalgia of the classic game in a modern web environment!

Prerequisites

Before you start, ensure you have the following installed:

  • Node.js (v20 or newer recommended)
  • npm (usually comes with Node.js)

Getting Started

Follow these steps to set up and run the project locally:

1. Clone the Repository

git clone https://github.com/pragusga25/snake-game.git
cd snake-game

2. Install Dependencies

Run the following command to install all necessary packages:

npm install

3. Run the Development Server

Start the development server with:

npm run dev

Once the server is running, open your browser and go to:

http://localhost:3000

You should see the Snake Game running locally!

Technologies Used

  • Next.js: React framework for server-side rendering and static site generation
  • TypeScript: For static typing and better code quality
  • Tailwind CSS: Utility-first CSS framework for styling

Contributing

Feel free to fork the repository and submit pull requests if you'd like to contribute. Suggestions and improvements are always welcome!

About

A simple and fun web-based Snake Game where you control a snake, eat food, and try to achieve the highest score. Play it now for free!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published