Skip to content

return5/Ascii-tower-defence

Repository files navigation

Ascii Tower Defence

a simple 2D tower defence game. place towers, fight waves of enemies. defend your base.

gameplay

at start of game you get 10 seconds to build your first towers before enemy spawns.
click tower buttons to select tower. user arrow keys to move tower, press enter to place tower.
click placed towers to see information about tower. you can sell a tower as well. Don't let enemies reach your base. too many of them get to your base and it is game over.

running

before starting the game for the first time, navigate to libs/ncurses/ and run make
for all subsequent simply run lua ascii-tower-defene

towers

icon cost description
@ 100 basic tower. moderate damage, range, and fire rate.
# 10 wall. no attack, but blocks enemy movement.
$ 150 money generator. no attack, but slowly generates money.
& 125 machine gun tower. short range, low damage, but fast fire rate.
H 150 shotgun tower. short range, slow fire rate, but high damage.
P 175 sniper tower. long range, high damage, slow rate of fire.

UI

ui screenshot with text labels

screenshots

basic gameplay. towers placed in a maze, enemies moving through maze towards base. gameplay info is on display in info window Game play screenshot

basic gameplay but a tower has been clicked on. Tower info is displayed in info window. game play screenshot showing tower info screen

requirements

  • lua >= 5.4
  • make
  • C compiler(make file is configured to use GCC, but can substitute C compiler of your choice.)
  • ncurses

license

all source code is licensed under The GNU Affero General Public License version 3 only. no versions later than 3 are valid licenses for this source code.

About

simple 2D tower defence game. wittren in lua and runnin in terminal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors