More fun
Want to support CHYOA?
Disable your Ad Blocker! Thanks :)

Chapter 3 by gene.sis gene.sis

What's next?

Roll the Dice

{if@ variable > 100000}Please start the Game Mode on the right tab under "Score" or click here before navigating back to this chapter.{else}{if Round > 1}{if Winner = 1}Ethan won.
{elseif Winner = 2}Olivia won.
{elseif Winner = 0}This round is a tie.
{endif}
After round {Previous Round}, Ethan has {Points Ethan} {if Points Ethan =1}point{else}points{endif} and Olivia has {Points Olivia} {if Points Olivia =1}point{else}points{endif}.

{endif}{if Points Olivia = 6}Olivia cheers as she won the game after {Previous Round} rounds.

"Do you wanna play another game?"

{elseif Points Ethan = 6}Ethan cheers as he won the game after {Previous Round} rounds.

"Do you wanna play another game?"

{else}{if Round = 1}"Okay, let's start!"{else}"Round {Round},"{endif} Olivia says, "Roll your dice!"

Ethan rolls the dice and gets a {Dice Ethan}.
Olivia rolls the dice and gets a {Dice Olivia}.{endif}


Note: From all chapter options below, there should always be only one to choose from. This is because the chapter options are mutually exclusive and the clickable chapter is determined by the dice rolls and the state of the game. For a story using such mechanics, it might be advantageous to deactivate the story option Show inaccessible chapters, so the reader would only see the only chapter option available. In this example story the story option is activated, so it is easier to understand how this example works.{endif}

What's next?

Want to support CHYOA?
Disable your Ad Blocker! Thanks :)