From 35a6f7249fe31e53c52e89274eaebedad742cd84 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Fri, 18 Jan 2013 05:46:15 +1100 Subject: [PATCH] Finished the notes --- Notes/Outline.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Notes/Outline.txt b/Notes/Outline.txt index fc4649d..79eeaef 100644 --- a/Notes/Outline.txt +++ b/Notes/Outline.txt @@ -70,7 +70,24 @@ I could add a simple "sound" module into Codebase later. The engine's logic can be changes slightly to Init-Loop-Quit when it's rolled together. -...(needs a little more research) +Each game is a series of rounds, which are broken up into a series of tricks. +A round is handled using the "Game Phase Members" +* SetupPhase() +* SwapPhase() +* TrickPhase() +* ScorePhase() +* CleanupPhase() +Each trick is handled using "Play Phase Memebers" +* PlayBeforePhase() +* PlayPlayerPhase() +* PlayAfterPhase() +* PlayDisplayPhase() +The play phase members will need to be renamed for clarity, otherwise the smurf naming isn't too bad. +After each round, the rotation progresses to the next in the list. +The game progresses anticlockwise. +PlayBeforePhase() handles AI players to the right, while PlayAfterPhase() handles AI players to the left. +PlayDisplayPhase() is a simple 2 second delay, but doesn't block. +The remaining functions are just mainly housekeeping. -------------------------