Coder Social home page Coder Social logo

chriswhisker / voided Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 117 KB

Embark on a console-based text adventure when your starship crashes on a distant, uncharted planet.

C++ 100.00%
console console-application cpp game game-development text-adventure

voided's People

Contributors

chriswhisker avatar

Stargazers

 avatar

Watchers

 avatar  avatar

voided's Issues

Debug messages are cut off

The first and last few characters aren't printed. This started after adding color changing functions to Printer.

Inventory items

Subclass of #5 World Objects. Only items that can be put in inventory and used in some way

  • weapons
  • keys
  • bandages
  • notes (passcode)

Time tracker

Implement a way to track time. Time should tick only when a successful prompt executes.

Player death

When player health reaches 0, they should die.

World objects

Create a class for objects you can interact with in the world

Word wrap

If printing a word would split it between two lines, go to the next line.

Keyword color-coding

Print certain words in different colors. This feature can be turned off in the settings.

  • Interactable objects in the world
  • Objects that can go in your inventory
  • Rooms you can move to
  • Friendly people & creatures
  • Hostile people & creatures

Sanitize command text

In CommandHandler::handle(string command)

  • trim leading and trailing white space
  • convert entire string to lowercase

Debugging

When Printer is in debug mode, show debug statements (in a separate color).

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.