https://github.com/martishung/redoingsnake
Just a easy game would like to use more feature about "OOP" the old one I did is at the below link "https://github.com/MartisHung/JustAFreakySnake"
https://github.com/martishung/redoingsnake
c cplusplus cpp snake-game
Last synced: 3 months ago
JSON representation
Just a easy game would like to use more feature about "OOP" the old one I did is at the below link "https://github.com/MartisHung/JustAFreakySnake"
- Host: GitHub
- URL: https://github.com/martishung/redoingsnake
- Owner: MartisHung
- Created: 2024-12-13T07:50:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-18T11:22:16.000Z (over 1 year ago)
- Last Synced: 2025-02-18T12:29:10.290Z (over 1 year ago)
- Topics: c, cplusplus, cpp, snake-game
- Language: C++
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RedoingSnake
A snake game made by C/C++
這是一個用 C/C++ 的貪食蛇遊戲。
## Project Status
curiously finished
## Projet Architecture
```Architecture
|
|-- main.cpp
|-- ForTypeDef.h
|-- ForCrossPlatform.h
|-- Map
| |-- Map.cpp
| |-- Map.h
|-- Snake
|-- Snake.h
|-- Snake.cpp
```
## Download
1. git clone:
```sh
git clone https://github.com/MartisHung/RedoingSnake.git
```
2. 進入專案目錄:
```sh
cd RedoingSnake
```
3. compile 編譯(windows):
- g++:
```sh
g++ main.cpp -o Snake.exe
```
- clang++:
```sh
clang++ main.cpp -o Snake.exe
```
Run/Execute:
```sh
./Snake.exe
```
4. compile 編譯(Linux):
- g++:
```sh
g++ main.cpp -o Snake
```
- clang++:
```sh
clang++ main.cpp -o Snake
```
run/Execute:
```sh
./Snake
```
## Licence
Forbidding for any kind of financial purpose
禁止應用於任何形式的經濟目的