Try it here!:

Run this command in a Linux terminal to try it out:

git clone https://github.com/radian628/terminal-based-space-shooter && cd terminal-based-space-shooter && make && ./tbss levels/level1.txt && cd .. && rm -rf terminal-based-space-shooter

Inspiration

Terminal-based games like Dwarf Fortress and Rogue and whatnot. We thought it'd be fun to try to make one of these.

What it does

This is a space shooter game, reminiscent of Space Invaders and Galaga and whatnot. It runs in a Linux terminal (not cross-platform unfortunately).

How we built it

We used C with the raw Linux APIs. No libraries!

Challenges we ran into

We had to figure out how to get the terminal to actually output what we wanted it to output rather than doing its default behavior of echoing entered text and requiring ENTER to send input. Getting controls that worked well in a terminal-based game was also a challenge.

Accomplishments that we're proud of

We made an actual game in the terminal!!! It's actually playable.

What we learned

How to use termios and how to get the window size, among other things.

What's next for Terminal Based Space Shooter

Proper game balance, data-oriented-design principles, and whatnot.

Built With

Share this project:

Updates