Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA game design The game is a puzzle; the objective is to place all eight colored playing pieces onto a board comprising 25 pegs which

JAVA game design

The game is a puzzle; the objective is to place all eight colored playing pieces onto a board comprising 25 pegs which are arranged in a grid. The placement must ensure that all of the pieces fit together correctly.

The game is played on a board comprised of 50 locations arranged in a 5x10 grid. 25 of the locations have pegs which are the same height as a single layer of the pieces (each of which are two layers high, described below, and seen in the photo above). The locations are encoded with letters A-Y and a-y, according to the picture below and encoding scheme which is described below. When pieces are played, each ring in their lower layer must be on a peg and as a consequence, each ring on their upper layer will be at a location that is not a peg.

The game comprises 8 playing shapes, each of which is made of plastic and consists of five or six flat rings arranged in two layers (see the photo above). Each layer has an arrangement of two or three rings. The thickness of the rings is the same as the height of the board pegs, so once a piece is played, the upper layer of rings always sits neatly above the top of the pegs. The two layers of rings are fused together. The two layers are offset from each other by half a peg space (rings are never directly on top another). See the illustration of all pieces and their possible orientatons below. The center-most ring is defined to be the home of the piece (the placement of the piece is defined in terms of the placement of the center ring). Shapes may be flipped and rotated, so the home ring may be on the top or bottom layer at the time it is played. For orientations A-D, the home ring is on the bottom layer. For orientations E-H, the home ring is on the top layer (see the illustration of all shapes and their eight orientations, below).

Question

Just write a sketch/skeleton version, including all important classes, with the most important fields and methods. The methods may have empty bodies.

What we expect:

You to demonstrate a design that clearly shows how your group thinks it will solve the problem.

Your design must be committed and pushed to your group repo.

We expect that your design will change as your understanding of the problem grows deeper. What we want in this deliverable is just your initial thoughts.

image text in transcribed

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions

Question

What is the principle of thermodynamics? Explain with examples

Answered: 1 week ago

Question

5. How do instructional objectives help learning to occur?

Answered: 1 week ago

Question

4. Help trainees set challenging mastery or learning goals.

Answered: 1 week ago