Skip to content

Instantly share code, notes, and snippets.

@jmahoney
Created July 19, 2022 07:12
Show Gist options
  • Save jmahoney/541f8f519fa501a727b01f7d3f26b962 to your computer and use it in GitHub Desktop.
Save jmahoney/541f8f519fa501a727b01f7d3f26b962 to your computer and use it in GitHub Desktop.
(set: $skill to 6 + (random: 1, 6))\
(set: $stamina to 12 + (random: 2, 12))\
(set: $hits to 0)\
(set: $opponent_skill to 6 + (random: 1, 6))\
(set: $opponent_stamina to 12 + (random: 2, 12))\
(set: $opponent_hits to 0)
(set: $round to 1)\
# Welcome to the Fighting Fantasy simulator
You have $skill SKILL and $stamina STAMINA. Your opponent has $opponent_skill SKILL and $opponent_stamina STAMINA.
[[Good luck!->Fight]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment