Package breitband
Class Main
- java.lang.Object
-
- breitband.Main
-
public class Main extends java.lang.Object
The main class of the game.- Author:
- Luna Otte
- See Also:
main(java.lang.String[])
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Starts the game.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Starts the game. In order, this method:- Parses the command line arguments
- Reads the game configuration
- (Optionally) creates the GUI
- Selects a random subset of the game's contracts
- Creates the game's players
- Initializes the GUI (if present)
- Goes through the main game loop
- Announces the last round
- Detects whether a player cheated
- Crowns a winner
- Parameters:
args
- The command line arguments
-
-