Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ralxyz/snake
A classic game written with C++
https://github.com/ralxyz/snake
Last synced: 21 days ago
JSON representation
A classic game written with C++
- Host: GitHub
- URL: https://github.com/ralxyz/snake
- Owner: RalXYZ
- License: gpl-3.0
- Created: 2020-01-05T04:54:25.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-17T12:39:30.000Z (almost 4 years ago)
- Last Synced: 2024-11-19T06:29:08.390Z (about 2 months ago)
- Language: C++
- Homepage:
- Size: 159 KB
- Stars: 15
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snake
This is an implementation of the classic Nokia brick phone game **Snake(贪吃蛇)**, written with C++.![issues](https://img.shields.io/github/issues/RalXYZ/Snake)
![forks](https://img.shields.io/github/forks/RalXYZ/Snake)
![stars](https://img.shields.io/github/stars/RalXYZ/Snake)
![C++](https://img.shields.io/badge/C%2B%2B-11%20%7C%2014-blue)
![EasyX](https://img.shields.io/badge/EasyX-20200315(beta)-yellow)
![license](https://img.shields.io/github/license/RalXYZ/Snake)
![CodeFactor](https://www.codefactor.io/repository/github/ralxyz/snake/badge)## Before playing
- **Steer** the snake with ↑↓←→
- When you **hit** a wall or **bite** your own body, game over.
- The **map** and **theme** changes randomly every time you play the game.## Fetures
- [x] Graphical user interface (GUI)
- [x] 10 different themes
- [x] 7 different maps
- [x] Pause while gaming
- [ ] Leaderboard and achievements
- [ ] Difficulty selection window## Design
The following details the 10 themes and 7 maps built into the game, designed by [@TheSaint-LazareStation](https://github.com/TheSaint-LazareStation).### Maps
| Capture | Plug | Dice | Lucky Clover | Shell |
| :---: | :---: | :---: | :---: | :---: |
| ![map02.png](https://i.loli.net/2020/01/23/uIUZ7RlSGPfvK6C.png) | ![map03.png](https://i.loli.net/2020/01/23/AFBEkrjguRi1PTN.png) | ![map04.png](https://i.loli.net/2020/01/23/eZUM3NWJogdGl1K.png) | ![map05.png](https://i.loli.net/2020/01/23/GIlTvLYnr8iOSaw.png) | ![map06.png](https://i.loli.net/2020/01/23/bIhgxTDKtEBG5qH.png) |### Themes
| Red Bean | Cang Song | Rose | Night Rain | Bluebird |
| :---: | :---: | :---: | :---: | :---: |
| ![image.png](https://i.loli.net/2020/01/23/WgfkevAa2xLB64Q.png) | ![image.png](https://i.loli.net/2020/01/23/h46FWea8lVm7Hcs.png) | ![image.png](https://i.loli.net/2020/01/23/xqrWfQDL6jsPXHJ.png) | ![image.png](https://i.loli.net/2020/01/23/nU2qROb9wHECzFN.png) | ![image.png](https://i.loli.net/2020/01/24/VjfJZdiPIGe81tg.png) || Snow Owl | Hoopoe | Plumage | Panda | Halloween |
| :---: | :---: | :---: | :---: | :---: |
| ![image.png](https://i.loli.net/2020/01/24/XpNBQ8db7zjc4Em.png) | ![image.png](https://i.loli.net/2020/01/24/kCwdrKLqPVIYnyZ.png) | ![image.png](https://i.loli.net/2020/01/24/8ZOkTDMwUHGLql5.png) | ![image.png](https://i.loli.net/2020/01/24/5bl7u4SRnzgkOwa.png) | ![image.png](https://i.loli.net/2020/01/23/bPGY8m6ZrKfWokO.png) |