Creating a dice game | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Creating a dice game

Hy guys who can help me create a dice game ! I am having a hard time thank you. This game allows two players to throw two dices at a time. If one player gets an even when the outcome of the two dices are added then they get 10 additional points added to there total . Elif if the addition of the two dices are an odd number 5 points are deducted from their total points . The players have five rounds each . Else if the the number on the two dices are equal then they the player gets to play another round. The game only allows users that have the right login details to play the game .

31st Dec 2019, 5:21 PM
Asha Sugal
Asha Sugal - avatar
3 Answers
0
In which language you are trying to implement? Specify language. So that some one definitely help you... Do you need idea or code? Please mention the details how much need help?
31st Dec 2019, 6:50 PM
Jayakrishna 🇮🇳
0
srry about that in python i need help with the code like im stuck with how to write the code
1st Jan 2020, 3:15 PM
Asha Sugal
Asha Sugal - avatar
0
I could try, if you need it in java but I have a little knowledge in python.. Hoping may these links help you.., if it is not what you require or not sufficient, then make a dublicate question and post again will sample code if possible to you, some pythoner will answer definitely. Delete this one after that. Why need duplicates. https://www.includehelp.com/python/program-for-rolling-the-dice-2-player-dice-game.aspx https://codereview.stackexchange.com/questions/211125/2-player-dice-game-with-login-system
2nd Jan 2020, 8:03 AM
Jayakrishna 🇮🇳