Coder Social home page Coder Social logo

diaper-bag-dash's Introduction

diaper-bag-dash

A text-based adventure game where the protagonist endures the struggles of parents with young children trying to get out of the house on time.

Synopsis

You are the loving, caring parent to two wonderful children under the age of 3.

What a fun age! There’s story time, playing make believe, cuddles, and giggles! Those balance out with potty training, cleaning spit-up, and changing diapers, but it’s totally worth it.

BUT! Today you have just realized you forgot about Teddy Bear Club AND your sitter called and is sick!

It’s 7:45 a.m. and you need to get out of the door ASAP! But your limit isn’t time … it’s patience.

Objectives

You need to quickly move from room to room in your home to collect the following items before patience runs out:

  • Baby clothes
  • Diapers
  • Rash Cream
  • Lunch
  • Shakey Elephant

Some items require actions before they can be collected, and your patience level will naturally slowly tick down with each move to a new room. Look out though .. sometimes random events can occur that may add or subtract from your patience level making the morning more or less challenging.

Program Build

Pre-requisites

System with GNU C/C++ compiler. Preferred method utilizes make for build and cleanup.

Build Steps

Via a terminal in the parent directory of the repository:

make 

Example output

g++ -std=gnu++11 -pedantic-errors -g -c main.cpp
g++ -std=gnu++11 -pedantic-errors -g -c game.cpp
g++ -std=gnu++11 -pedantic-errors -g -c space.cpp
g++ -std=gnu++11 -pedantic-errors -g -c patio.cpp
g++ -std=gnu++11 -pedantic-errors -g -c mainfloor.cpp
g++ -std=gnu++11 -pedantic-errors -g -c parentsroom.cpp
g++ -std=gnu++11 -pedantic-errors -g -c kitchen.cpp
g++ -std=gnu++11 -pedantic-errors -g -c kidsroom.cpp
g++ -std=gnu++11 -pedantic-errors -g -c finaltesting.cpp
g++ -std=gnu++11 -pedantic-errors -g -c livingroom.cpp
g++ -std=gnu++11 -pedantic-errors -g -c bathroom.cpp
g++ -std=gnu++11 -pedantic-errors -g -c helpers.cpp
g++ -std=gnu++11 -pedantic-errors -g -c player.cpp
g++ -std=gnu++11 -pedantic-errors -g -c item.cpp
g++ -std=gnu++11 -pedantic-errors -g main.o game.o space.o patio.o mainfloor.o parentsroom.o kitchen.o kidsroom.o finaltesting.o livingroom.o bathroom.o helpers.o player.o item.o -o diaperbagdash

Run Steps

./diaperbagdash

If built successfully, you should see the opening screen for the game.

    WELCOME TO

   ######                                   ######
   #     # #   ##   #####  ###### #####     #     #   ##    ####
   #     # #  #  #  #    # #      #    #    #     #  #  #  #    #
   #     # # #    # #    # #####  #    #    ######  #    # #
   #     # # ###### #####  #      #####     #     # ###### #  ###
   #     # # #    # #      #      #   #     #     # #    # #    #
   ######  # #    # #      ###### #    #    ######  #    #  ####

                    ######
                    #     #   ##    ####  #    #
                    #     #  #  #  #      #    #
                    #     # #    #  ####  ######
                    #     # ######      # #    #
                    #     # #    # #    # #    #
                    ######  #    #  ####  #    #





[BACKGROUND]
          You are the loving, caring parent to two wonderful children under the age of 3.
          What a fun age!
Press enter...

Cleanup Steps

Removes all generated *.o files and program executable.

make clean

diaper-bag-dash's People

Contributors

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