Skip to content

EvertonTomalok/text-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text-game

Write a program for Text Game, where you will ask a question with 2 choices. The user's choice will lead to a new question with another 2 choices and so on. Ask user to enter the total number of questions to reach a destination should be configurable between 15 to 30. The solution should force the user to exhaust all 15 no matter what to arrive at the destination. user should not be able to answer in such a way that I get to the final result in 10 times

For example.

Q: Walking on the road you reach a fork, do you take left or right?
A: right
Q: You reached a lake, will you swim or go around it?
A: I will swim

The End! You are in Florida. Alligator caught you :)

Setup

make setup

Start Game

make start-game

Build

make build

Build and Run

make build-and-run

Run tests

make tests

Structure

Shared Data

SharedData




Question Domain

QuestionDomain




Complementary Question Domain

ComplementaryQuestionDomain




Flow

Flow

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published