Question
I need help with a simple Java program for a Left, Center, Right dice game. Left Center Right (LCR) is a multiplayer dice game with
I need help with a simple Java program for a "Left, Center, Right" dice game.
Left Center Right (LCR) is a multiplayer dice game with a minimum of three players, but no limit on the number of players.
The goal is to win all of the chips.
For the "dice class"
There are three dice rolled each turn. Each die has the letters L, C, and R on it along with dots on the remaining three sides. These dice determine where the players chips will go.
- For each L, the player must pass one chip to the player sitting to the left.
- For each R, the player must pass one chip to the player sitting to the right.
- For each C, the player must place one chip into the center pot and those chips are now out of play.
- Dots are neutral and require no action to be taken for that die.
For the "Chips" class
- Each player will start with three chips.
- If a player only has one chip, he/she rolls only one die.
- If a player has two chips left, he/she rolls two dice.
- Once a player is out of chips, he/she is still in the game (as he/she may get chips passed to him/her), but passes the dice to the next player.
The winner is the last player with chips.
my class did this in Python and it was pretty easy but I would like to know how to do it in Java.
IM NOT LOOKING FOR THE TWO PLAYER "DICE GAME" THAT HAS ALREADY BEEN POSTED MULTIPLE TIMES! I AM LOOKING FOR A SIMPLE LCR DICE GAME PROGRAM FOR JAVA!!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started