CS 410, Spring 2022 Team Project Iyengar
4 Player Board Game: This is a team programming
project. This is a team project. Form a team of 3 or 4 members.
Assumptions:
· There are 4 players. Players are named P1, P2, P3, and
P4. The players are on different machines.
· Each player is given set of 3 numbers chosen randomly
– in the range [1 – 20].
· Each player knows their numbers – but must guess other
players numbers.
· Players take turn in a cycle. During the turn the
player adds a number to his/her set.
· There is a 4 by 4 grid of dots. These dots are red or
green.
· The goal of a player is to get all the dots green.
· A dot is green when the player represented in the row
holds numbers that is a superset of number held by player represented by the
column. Otherwise, the dot is red.
· Ex: If P1 has {3, 5, 6, 9} and P2 has {5, 6, 9} then
dot in P1’s row under P2 column would be green – and the dot in P2’s row under
P1 column would be red.
Control:
· A new game starts with numbers are randomly created
and assigned players.
· The board is updated after a player has played.
· A game ends with a winner when a player has all the
dots green on their row.
· The winner is assigned a point score – which is the
numbers added during the game
· The other players are assigned 10 points.
· A new game is started.
· A match is a series of 10 games. The winner of the
match is the player with the lowest number of points.
· If there is a tie in the number of points, then the
player who wins the greatest number of games wins the match.
· If there is still a tie – then there is no winner.
Output:
· Neat, and decipherable, display of the board and dots.
· Neat, and decipherable, display of the board.
· Neat graphic prompts and results display.
Project Planning:
Project Planning is
critical to the success of any project. As such – one must spend time
recognizing the needs in the problem description and chart a path to address
these. In the process time and skill are of importance. Ascertaining the skills
needed and estimating the time required is a delicate and deliberative
(discussion based) process.
As such – your first
task is to form a team, meet and discuss the needs, skill and formulate a plan
– including the time needed for tasks to be undertaken.