An open API service indexing awesome lists of open source software.

https://github.com/decaded/snakegame

A classic Snake Game built with HTML, CSS, and JavaScript. The game features a leaderboard that stores the top 10 players' scores.
https://github.com/decaded/snakegame

game javascript snake

Last synced: 10 months ago
JSON representation

A classic Snake Game built with HTML, CSS, and JavaScript. The game features a leaderboard that stores the top 10 players' scores.

Awesome Lists containing this project

README

          

# Snake Game

![GitHub](https://img.shields.io/github/license/Decaded/SnakeGame) ![GitHub last commit](https://img.shields.io/github/last-commit/Decaded/SnakeGame)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/Decaded/SnakeGame)

## Introduction

### WARNING

> This project is currently under rapid development and is subject to frequent changes. Features, interfaces, and functionality may change without notice. Use at your own
> discretion and keep an eye on updates!

---

This repository contains the source code for a classic Snake Game with a leaderboard system. The project is split into two main components:

- **Frontend**: The game interface and logic.
Branch: [`snakegame`](https://github.com/Decaded/SnakeGame/tree/snakegame)
Play the game: [https://decaded.dev/dev/SnakeGame](https://decaded.dev/dev/SnakeGame)

- **Backend**: The server and database handling.
Branch: [`server`](https://github.com/Decaded/SnakeGame/tree/server)

## Features

- Classic Snake gameplay with modern enhancements
- Leaderboard to track top players
- Token-based authentication for score submission

## Technologies Used

- [Node.js](https://nodejs.org/) (v18+)
- [Express.js](https://expressjs.com/)
- [NyaDB](https://github.com/Decaded/NyaDB) (file-based database)
- HTML5/CSS3/JavaScript

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for details.

## Support

If you encounter any issues or have questions, please open an issue on GitHub.

## Contributing

Contributions are welcome! Please follow these steps:

1. Fork the repository
2. Create a new branch for your feature/bugfix
3. Commit your changes
4. Push to your fork
5. Submit a pull request

---

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/L3L02XV6J)