Giter VIP home page Giter VIP logo

tarbomb-game's Introduction

Tarbomb Game - Inspired by xkcd

Description:

xkcd image #1168

Building with Makefile

Must be compiled with -lncurses flag as well as -std=c++11, so a makefile has been included as well. Use the bash make command in the directory to produce the tarbombgame executable. You need ncurses to compile it, but every installation of linux since the 90s should have that at the very least. Not compatable with Windows currently.

Acceptable inputs.

tar must be used at the start. Flags are not required and it will accept multiple flags like -t -v -c. Only one or no flags are acceptable. Auto flag is also unacceptable.

Improvements for the future?

  • Ncurses may perform unexpectedly in some terminal emulators.
  • Ncurses may not link during compiling on some systems.
  • Add color.
  • Exploding animation.
  • Add bomb graphic.
  • Resize with changes in terminal size.
  • Greater options on tar command, possibly with regex or a file input.
  • Allow use of arrow keys to edit input.
  • Better makefile design?

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.