This is a collection of games created using Python and the Pygame library. The games are:
- Dice Rolling Game
- KBC Quiz Game
- Tic Tac Toe
- Snake Game
- Rock Paper Scissor
- Clone this repository to your local machine.
- Install the required dependencies using
pip install -r requirements.txt
- Run any of the Python files to play the corresponding game.
The Dice Rolling Game is a simple game where the player rolls two dice and tries to get a higher total than the computer. The game uses the random
module to simulate the dice rolls.
The KBC Quiz Game is a quiz game based on the popular Indian TV show "Kaun Banega Crorepati" (Who Wants to Be a Millionaire). The game asks the player multiple choice questions and gives them four options to choose from. The game uses the random
module to select the questions from a list of pre-defined questions.
The Tic Tac Toe game is a classic game where two players take turns placing X's and O's on a 3x3 grid. The first player to get three in a row wins the game. The game uses the Pygame library to draw the game board and handle player input.
The Snake Game is a classic game where the player controls a snake that grows longer as it eats food. The goal of the game is to eat as much food as possible without crashing into the walls or the snake's own body. The game uses the Pygame library to draw the game board and handle player input.
The Rock Paper Scissor game is a classic game where two players choose between rock, paper, and scissors. Rock beats scissors, paper beats rock, and scissors beats paper. The game uses the random
module to randomly select the computer's choice.
If you find a bug or would like to suggest a new feature, please open an issue or submit a pull request on GitHub. Contributions are always welcome!