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 play: main game loop #20

Open LaraMo opened 1 year ago

LaraMo commented 1 year ago

Provide a group of C++ classes that implements the main game loop following the official rules of the Warzone game. During the main game loop, proceeding in a round-robin fashion in the order setup in startup phase 4b. The main game loop has three phases and is implemented in a function/method named mainGameLoop() in the GameEngine class:

Orders Issuing phase The issuing orders phase decision-making is implemented in the player’s issueOrder() method, which implements the following:

Orders execution phase