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

https://github.com/uriid1/ascii-c-game

Small shooter write in C/Ncurses
https://github.com/uriid1/ascii-c-game

ascii-game c c-game clang console-game cureses-game curses ncurses ncurses-game terminal-game

Last synced: 3 months ago
JSON representation

Small shooter write in C/Ncurses

Awesome Lists containing this project

README

        

## Apple War

```css
e Y8b 888 Y8b Y8b Y888P
d8b Y8b 888 88e 888 88e 888 ,e e, Y8b Y8b Y8P ,8Y88b 888*,8,
d888b Y8b 888 888b 888 888b 888 d88 88b Y8b Y8b Y 8 888 888 88
d888888888b 888 888P 888 888P 888 888 Y8b Y8b ee 888 888
d8888888b Y8b 888 88. 888 88. 888 .YeeP. Y8P Y 88 888 888
888 888
888 888

```

This is a small game written in C.

Your task is to collect all the apples while avoiding enemies.

I do not recommend using the source code for learning C.
I wrote this game just for fun :)
Have a good game!

## Movement:

Arrows - move

Space - shot

q - open menu

## Screenshots
![Screenshot](https://github.com/uriid1/scrfmp/blob/main/AppleWar/lvl0.png)
![Screenshot](https://github.com/uriid1/scrfmp/blob/main/AppleWar/lvl5.png)

# Running
* You must have Ncurses and gcc installed to work.

## For Ubuntu / Debian based
```shell
sudo apt-get install libncurses5-dev
git clone https://github.com/uriid1/ascii-c-game
cd ascii-c-game
chmod +x game.sh
./game.sh
```

## For Arch based
```shell
sudo pacman -S ncurses
git clone https://github.com/uriid1/ascii-c-game
cd ascii-c-game
chmod +x game.sh
./game.sh
```

## For MacOs
```shell
brew install ncurses
git clone https://github.com/uriid1/ascii-c-game
cd ascii-c-game
chmod +x game.sh
./game.sh
```