Skip to content

uriid1/ascii-c-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apple War

     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 Screenshot

Running

  • You must have Ncurses and gcc installed to work.

For Ubuntu / Debian based

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

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

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