summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-11-01 01:08:13 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-11-01 01:08:13 +0100
commitcab99a7f9be5a5a08cf66f1226a384a180098c69 (patch)
tree937b6d487c87efaf9ccb56981f763c239220e2f5 /data/examples/blackjack/play.fate
parent6ac2d50fc176b0c77890b6ab6ec4b0db4e4d08a2 (diff)
First shot at option+event player inputs.
Diffstat (limited to 'data/examples/blackjack/play.fate')
-rw-r--r--data/examples/blackjack/play.fate14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/examples/blackjack/play.fate b/data/examples/blackjack/play.fate
index 2cf2407..81c7c58 100644
--- a/data/examples/blackjack/play.fate
+++ b/data/examples/blackjack/play.fate
@@ -83,13 +83,13 @@
Interesting. Would you like to go again?
(player_choice
- (
+ (option
( Yes, please. )
Very well.
(newline)
(jump_to play_a_game)
)
- (
+ (option
( No, thank you. )
It was a pleasure to play with you. Farewell.
(newline)
@@ -153,17 +153,17 @@
)
(player_choice
- (
+ (option
( Another card, please. )
(set has_doubled (false))
(jump_to acquire_card)
)
- (
+ (option
( I will stand. )
(jump_to resolve_dealer)
)
(if (and (>= player_score 9) (<= player_score 11))
- (
+ (option
( Double my bet, I'll only take one card. )
(set bet (* bet 2))
(set has_doubled (true))
@@ -215,11 +215,11 @@
)
(player_choice
- (
+ (option
( Another card, please. )
(jump_to acquire_card)
)
- (
+ (option
( This will do. I stand. )
(jump_to resolve_dealer)
)