| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-11-01 01:08:13 +0100 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-11-01 01:08:13 +0100 |
| commit | cab99a7f9be5a5a08cf66f1226a384a180098c69 (patch) | |
| tree | 937b6d487c87efaf9ccb56981f763c239220e2f5 /data | |
| parent | 6ac2d50fc176b0c77890b6ab6ec4b0db4e4d08a2 (diff) | |
First shot at option+event player inputs.
Diffstat (limited to 'data')
| -rw-r--r-- | data/examples/blackjack/main.fate | 4 | ||||
| -rw-r--r-- | data/examples/blackjack/play.fate | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/data/examples/blackjack/main.fate b/data/examples/blackjack/main.fate index acfee7e..342a663 100644 --- a/data/examples/blackjack/main.fate +++ b/data/examples/blackjack/main.fate @@ -24,7 +24,7 @@ Just between you and me, someone left those laying around, they aren't mine. Now, you're all set to go... unless you don't know how to play? (player_choice - ( + (option ( As it happens, I do not. ) (visit rules_of_blackjack) (text_effect action_description @@ -32,7 +32,7 @@ Now, you're all set to go... unless you don't know how to play? ) (visit play_a_game) ) - ( + (option ( I am familiar with BlackJack. ) (text_effect action_description You leave the counter and approach one of the tables. 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) ) |


