euchre-live

Euchre web-app for the socially distant family
git clone git://git.alexkarle.com/euchre-live.git
Log | Files | Refs | README | LICENSE

commit 74332a8b94ae0a5e97a565c418b3339404af6ae6 (patch)
parent b0f6de8b7f83a1a7f6f9efac099eda87e2df80f8
Author: Alex Karle <alex@karle.co>
Date:   Sat, 11 Apr 2020 18:13:12 -0400

cleanup: Remove NOTES file

While fun to look at, this is horrifically out of date :)

See the top of [Dealer](lib/Euchre/Dealer.pm) for the true internals.

Diffstat:
DNOTES | 49-------------------------------------------------
1 file changed, 0 insertions(+), 49 deletions(-)

diff --git a/NOTES b/NOTES @@ -1,49 +0,0 @@ -NOTES -===== - -Just some implementation details / thoughts. - - -In an OOP world... ------------------- - -Game has - Teams has - score - Players have - is_dealer - will_start - tricks_won - Hand has - Cards has - id - name - -In a functional world... ------------------------- -Key: cards are just ints (can derive class/value from int) - -subs: - trick_winner - score_tricks/round - deal_hands - -global state: - leader - dealer_id - calling_team - trump_suit - scores[2] - tricks[4] - -Round: - 1. deal cards - 2. <Vote trump> - 3. leader = 1 - 4. for i 0..5 # play hand - a. <accept input x 4> - b. leader = trick_winner, tricks[$winner]++ - 5. scores += score_round(tricks) - 6. If max(scores) >= 10 -- DONE - -(note: <> means interactive)