From f0d868b99209cd460535237a920dac58262af686 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Tue, 14 Mar 2023 14:39:08 +1100 Subject: [PATCH] assn-files: Created skeleton.md --- assn-files/skeleton.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 assn-files/skeleton.md diff --git a/assn-files/skeleton.md b/assn-files/skeleton.md new file mode 100644 index 0000000..6ebd1dd --- /dev/null +++ b/assn-files/skeleton.md @@ -0,0 +1,38 @@ +# Simple draft skeleton: + + +## Board Setup +* Create a grid of tiles +* Create islands and assign size and location (on tiles) +* Create "stone circles" +## On Game start functions +* Create player data (maybe using enums) +* Assign villages to players +* Assign settlers to players +* Randomly Assign resources and statuettes to map "stone circles" + +## Exploration Phase +1. Pick player +2. Player places piece (use function to check placement rules) +3. Repeat with next player (while not Exploration Phase over) + + +## Check Placement +If piece is settler, check if one of: +* on unoccupied water +* on unoccupied land adjacent to one of their pieces + +If piece is village, check on unoccupied land adjacent to one of their pieces + + +## Piece Placing +* Check placement (using function) +* Assign piece to tile +* If piece on "stone circle" > get resources and statuettes + + + +## Exploration Phase over +If one of: +* All resources (not including statuettes) have been collected +* No player has any remaining moves available \ No newline at end of file