Coder Social home page Coder Social logo

cpp-beginner's Introduction

TripleX

You're Lightning McQueen, and are trying to win your first "Piston Cup".

After blowing out your rear tires, your pit crew has set you up with a brand new set of Nitto(s).

Your now a few laps behind, but have enough NOS tanks to get you back in the lead.

However, you seem to have forgotten the 3 digit lock combination to your tanks.

Play through 'TripleX' to remember the combination, unlock your NOS tanks, and win the "Piston Cup".

Compiling

You can run the following command in order to easily compile and run the 'TripleX' application:

# change into the src/ directory first
cd src/

# macOS
g++ triplex.cpp -o triplex && clear && triplex
# Windows
cl triplex.cpp && cls && triplex

Playing

The label on your NOS tanks has some helpful hints, which will be printed out at the start of the game.

You're Lightning McQueen, and want to unlock your full potential!
Your NOS tank has a 3 digit lock on it, and the label underneath reads...

You'll then be provided with two hints, as to the SUM and PRODUCT of the 3 numbers in the code:

+ There are 3 numbers in the code.
+ The codes add-up to: 6
+ The codes multiply to: 6

Please enter your guess for the codes, (1 2 3) :

You must enter the correct combination to unlock and win the race!

Fantastic! You've unlocked the NOS tank and are on your way to win the race!

Otherwise, you'll fail miserably, and we can't guarantee your victory...

Sorry, but the code you entered doesn't match the records.
You've failed to unlock your NOS tank(s) and might loose the race. Good luck!

Have fun playing!

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.