Giter VIP home page Giter VIP logo

terminal-game-tutorial's Introduction

#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.

terminal-game-tutorial's People

Contributors

fundamelon avatar kkimb003 avatar unara001 avatar urielnaranjo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.