Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

want to create a activity diagram of the following game: ps: please provide the drawing of the activity diagram on the paper The game is

want to create a activity diagram of the following game:

ps: please provide the drawing of the activity diagram on the paper

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions

Question

Explain the problems of the following codes? for (0; i

Answered: 1 week ago