Skip to content

kubasikus/terminal-game-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#terminal-game-tutorial This is a tutorial on how to create a simple terminal game using c++ and ncurses. It will guide you through the basics of game programming through several distinct parts, each incrementally adding features.

Project goals:

  • to demonstrate proper software design practices (using the UNIX philosophy)
  • to show and utilize the power of ncurses
  • to inspire and create a launch platform for future projects
  • to create an entertaining and educational final product for others to use and enjoy

By the time you're done, you'll have created this awesome space game!

final product

Usage

This tutorial series is meant to be read in sequence, with the reader programming as we go along. Each part of the tutorial series is an individual project - you can make and run it if you wish. All source code is provided.

Of course, there are many different ways of solving almost any programming task. Therefore, it is recommended that the reader first skim through a tutorial, then attempt to implement the content in their own style.

The provided source code is by no means "perfect", and is intended as a gentle guide.

Part 1: Starting out with ncurses

Part 2: A player on the screen

Part 3: Falling objects

Part 4: Multiple windows

Part 5: User interface and text (Under construction)

Part 6: Extras (and by that we mean guns) (Under construction)

Installation

git clone https://github.com/fundamelon/terminal-game-tutorial.git in your directory of choice.

Issues

If you notice that anything in the tutorials is wrong, badly written, or downright condescending, feel free to post an issue , message any of us , or even fork and make the changes yourself!

Also, if you're sure that there's a totally better way of doing anything we did in the source code, you are welcome to contribute.

About

step by step game things

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 84.0%
  • C 9.4%
  • Makefile 6.6%