An open API service indexing awesome lists of open source software.

https://github.com/vipulbunny/game-using-random-module

The user is prompted to enter either "Odd" or "Even". The user then inputs a number between 1 and 6. The computer randomly selects a number between 1 and 6. The sum of the user's number and the computer's number is calculated. If the sum is odd and the user chose "Odd", the user also wins the toss and is prompted to choose between "Bat" or "Ball".
https://github.com/vipulbunny/game-using-random-module

Last synced: 10 months ago
JSON representation

The user is prompted to enter either "Odd" or "Even". The user then inputs a number between 1 and 6. The computer randomly selects a number between 1 and 6. The sum of the user's number and the computer's number is calculated. If the sum is odd and the user chose "Odd", the user also wins the toss and is prompted to choose between "Bat" or "Ball".

Awesome Lists containing this project

README

          

# Game-using-random-module
The user is prompted to enter either "Odd" or "Even". The user then inputs a number between 1 and 6. The computer randomly selects a number between 1 and 6. The sum of the user's number and the computer's number is calculated. If the sum is odd and the user chose "Odd", the user also wins the toss and is prompted to choose between "Bat" or "Ball".