There is a board games day scheduled and organizers would like to automatically get a list of all possible game tournaments & players that will take place during that day according to the preference of the attendees.
The organizers have created an online poll where attendees could select multiple game titles they would like to play that day.
The data have already been collected and is represented through class Player
.
One player has a name
and can have multiple games
associated with him/her (these are the game names that the player would like to play).
There is needed of course another class for Game
which would only consist of name
, ranking
(integer from range 1-10,