Highlights
Introduction
There are three Sprints. These Sprints combine to incrementally build into a Java implementation of a board game.
The following steps should be done before starting to code:
1. Display & Rolls
As a group, implement and verify a Java program with the following features. Use the console for input and output.
A feature whereby the Backgammon board is displayed with the Checkers in their initial positions.
A feature that prompts the players to enter their names. Their names should be used in later prompts.
A feature that allows the players to take turns rolling the dice. The players should be prompted to enter a command. Entering the “roll” command should cause the result of a two dice roll to displayed on the board panel and reported in the log panel. The dice should be generated randomly.
A feature whereby a “quit” command causes termination of the program. Submit as per the instructions in the Submission section. The following feature checklist will be used for grading:
2. Game
As a group, implement and verify a Java program with the following features.
A feature whereby when the game starts, the program rolls one die for each player to determine which player goes first. The result is used for the first move. A feature whereby the current player is indicated on the display.
A feature that displays the pip number of every point on the board. The pip numbers should change depending on which player’s turn it is.
A feature which lists all legal moves after the dice roll and allows the user to enter a letter code for the desired move. The board should be updated to reflect the move selected. All hits and bear off should be applied. All rules of backgammon should be considered.
A “pip” command which reports the pip count for both players.
A “hint” command which lists all allowed commands. The list should exclude the commands for testing.
A feature whereby the syntax of the commands entered are checked. An appropriate error message is generated if the command is invalid.
A feature that detects when the game is over and announces the winner of a game
3. Match
As a group, implement and verify the following.
A “dice
A “test
A feature that at the start of new match, allows players to enter their names and select the length of the match.
A feature that displays the match score and the match length on the board.
A feature the displays the double with the position showing ownership.
A command “double” that offers a double to the other player. The other player must respond with either “accept” in which case the game continues for twice the stake OR “refuse” in which case the game ends with the doubling player gaining the current stake. Checks must be performed to ensure that the inputs are legal according to the rules of the same.
A feature that announces whether a game ends in a Single, a Gammon or a Backgammon and updates the match score according to the end position and the score.
A feature that detects the end of a match and announces the winner.
A feature that allows the players to start a new match.
The functionality of the “hint” command should be updated.
This Game Development has been solved by our PhD Experts at My Uni Paper.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.