LaraMo / Risk-Swift-Sloths

COMP 345 project taken in Fall 2023 - creating the RISK game with C++
Apache License 2.0
0 stars 2 forks source link

Game startup phase #19

Open LaraMo opened 1 year ago

LaraMo commented 1 year ago

1) use the loadmap command to select a map from a list of map files as stored in a directory, which results in the map being loaded in the game. 2) use the validatemap command to validate the map (i.e. it is a connected graph, etc – see assignment 1). 3) use the addplayer command to enter players in the game (2-6 players) 4) use the gamestart command to a) fairly distribute all the territories to the players b) determine randomly the order of play of the players in the game c) give 50 initial army units to the players, which are placed in their respective reinforcement pool d) let each player draw 2 initial cards from the deck using the deck’s draw() method e) switch the game to the play phase

Lara note: 1,2,3,4e are implemented in respective drivers :)