Create an Account

Already have account?

Forgot Your Password ?

Home / Questions / Objectives There are three key objectives for this project Implement a Guess Who game Desi...

Objectives There are three key objectives for this project Implement a Guess Who game Design and implement Guess Who guessing algorithms Have fun This assignment is designed to be completed

Objectives There are three key objectives for this project: • Implement a Guess Who game. • Design and implement Guess Who guessing algorithms. • Have fun! This assignment is designed to be completed in groups of 2, or pairs. We suggest that you work in pairs, but you may work individually. 2 Background Guess Who is a classic two player game. The game consists of a set of characters/persons with various attributes, e.g., hair or eye colour. Each player initially choose a person from this set. The aim of the game is each player takes turns to guess their opponent’s chosen person. Each turn, a player can ask a question, such as, “does your person have green eyes?”, which the opponent answers yes/no. From the answer, a player can eliminate the possible persons that their opponent have. The game ends when a player make a correct guess of the opponent’s chosen person. See https://en.wikipedia.org/wiki/Guess_Who%3F for more details. Traditionally, Guess Who is played between human players. In this assignment, your group will develop algorithms to automatically play Guess Who. 3 Tasks The project is broken up into a number of tasks to help you progress. Task A is to design and develop the data structures to store game information and the players. Task B and C develops algorithms to play Guess Who, using your own data structures from task A. For details on how each task will be assessed, please see “Assessment” section. Task A: Design and Implement the Data Structures of a Guess Who Game (3 marks) In this task, your group will design and implement the way a Guess Who game is stored and its information accessed. This includes loading of the game from game configuration files (see section “Details of Files” for details) and the storing of the chosen person in a player class. Your design of these data structures may want to consider the way the Guess Who game is setup. Each player store their own copies of the game configuration information, which avoids forcing all players to store their game information the same way. This allows each group to go about their design in the way they consider appropriate, and even players from different groups to play against each other.

May 28 2020 View more View Less