Question
want to create a sequence diagram of the following game: The game is on a ten-by-ten grid board. Two players will start at any given
want to create a sequence diagram of the following game:
The game is on a ten-by-ten grid board. Two players will start at any given position on the board (at the player's choice, but the other does not know until both enter the game). For each round, the players will roll two dice, and the winner (who rolls a greater number) will have one chance to move (up, down, left, right, and diagnose) with any number of grids. There will be a few (2 10 depending on the difficulty level) "black holes" randomly placed by the computer each game and are invisible to the players. The game's objective is pushing the other car into one of the "black holes" while keeping your car out of it. Once the player has a move, they can choose to move one grid in any direction. If the grid their car moves toward is occupied by the other player's car. The other player's car will be bumped into one grid in the same direction as the impact (how many grids the mover made, how many grids the other car will be bumped). E.g., if hit from left to right by two grids, the car will be bumped to two grids to the right. Or you can choose to move your car to any open grid without bumping. The car falls into the black hole, losing the game.
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