Giter Club home page Giter Club logo

rust-be-a-millionaire-game's Introduction

rust-be-a-millionaire-game

Be A Millionaire game implementation in Rust programming language.

Quick Start

This game will be started in your terminal. You can simply run it using cargo command:

cargo run

Example Output

This is an example of the game:

Hello and welcome to Be A Millionaire game!
You will be asked 15 questions and if you answer all of them, you will win $1M!
What is your name?
JTAG
OK JTAG. The $100 question:
What is the biggest currency in Europe?
1) Afro
2) Asio
3) Australio
4) Euro
J) Joker
Q) Quit
j
Your answer: j
Joker selected
Which Joker do you want to use?
1) 50/50
2) Audience
3) Call
2
Your answer: 2
OK, Audience Joker selected
Audience selection is as follows:
1: 0%, 2: 2%, 3: 0%, 4: 98%
Now select your answer:
4
Your answer: 4
Congratulations JTAG! Your answer was correct!
OK JTAG. The $200 question:
Which of these kills its victims by constriction?
1) Andalucia
2) Anaconda
3) Andypandy
4) Annerobinson
J) Joker
Q) Quit
2
Your answer: 2
Congratulations JTAG! Your answer was correct!
OK JTAG. The $300 question:
In the UK, VAT stands for value-added ...?
1) Transaction
2) Total
3) Tax
4) Trauma
J) Joker
Q) Quit
q
Your answer: q
OK, you quit the game with $300.
Thank you for your participation in our game!

rust-be-a-millionaire-game's People

Contributors

j-tag 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.