Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shadmansaleh/snake_game

Simple snake game written in cpp. This was made as project for CSE-144 (OOP) course
https://github.com/shadmansaleh/snake_game

Last synced: about 2 months ago
JSON representation

Simple snake game written in cpp. This was made as project for CSE-144 (OOP) course

Awesome Lists containing this project

README

        

# Snake_Game
Simple snake game written in cpp

### How to build
#### Requirements:
- c++ compiler (g++)
- cmake
- cmake generator (Gnu Makefile / ninja/ ...)

#### Instructions:
```bash
# clone repo:

git clone https://github.com/shadmansaleh/Snake_Game

# generate build scripts with cmake

cmake -B build/ -S ./

# Run generated build scripts. Assuming you're using gnu makefile

make -C build

# Run the game windows

build\shake.exe

# Run the game linux/mac

build/snake
```

### ScreenShots

![ScreenShot1](./assets/Images/Screenshot_20221217_222842.jpeg)
![ScreenShot2](./assets/Images/Screenshot_20221217_222932.jpeg)
![ScreenShot3](./assets/Images/Screenshot_20221217_223331.jpeg)
![ScreenShot4](./assets/Images/Screenshot_20221217_223411.jpeg)