Question
java// I am trying to build a game board that is 10x10. needs to do the following. 1) display the numbers 1 - 100 2)
java//
I am trying to build a game board that is 10x10. needs to do the following.
1) display the numbers 1 - 100
2) when a player gets a random number from 1-6 (like a dice). they will move to that position on the board. (using a letter from A-D to represent them.)
3)The board must display the position with the letter they choose.
There can be 2-4 players, ask the user. Each player must choose a letter to represent them on the board from A-D. Each player will roll a dice, this can be shown by an output "dice rolling... your value is 2" (don't need to worry too much about this part)
The main thing I am trying to figure out is how to get the letters (A-D) that represent each player after each "roll" to display on a 10x10 numbered board, so don't worry to much about the functionality of the dice/players. When Player 1 with letter A rolls, I need it to display on the board.
It should have a driver class and another class (call it whatever you like). Last note, as I am a beginner please do not use lists, or hashmaps, or anything else that is not in the scope of a beginner. I can create object, arrays, constructors, scanners, etc.
use comments to explain your code
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