Work in Progress.
- Install python from https://www.python.org/ (built under python 3.9)
- Download repository Mini-games.git
- Enjoy!
In Bagels, a deductive logic game, you must guess a secret four-digit number based on clues.
The game offers one of the following hints in response to your guess:
- “Pico” when your guess has a correct digit in the wrong place
- “Fermi” when your guess has a correct digit in the correct place and
- “Bagels” if your guess has no correct digits.
For example, if the secret number was 2148 and your guess was 8439, the clues would be Fermi Pico.
You have 4 tries to guess the secret number.
Number of tries and secret number's length can be configured in game.
A version of this game is featured in the book "The Big Book of Small Python Projects" by Al Sweigart.
Rock, paper, scissors is a hand game, usually played between two people, in which each player simultaneously forms one of three shapes with an outstretched hand. These shapes are "rock" (a closed fist), "paper" (a flat hand), and "scissors" (a fist with the index finger and middle finger extended, forming a V).
- Scissors wins paper
- Paper wins rock
- Rock wins scissors
Game can be set for a number of rounds, or infinite mode.
This is a guess the number game. Computer will draw a number between 1 and 50. You have 5 tries or you'll lose the game.
The game tracks wins/loses ratio.