Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Fill in the Blank type Question

$
0
0
I'm making a game where the "dungeon master" asks the player a question and the player is required to write an answer in a prompt. My problem is getting the code to work where, depending on the answer given, the player will either go to the "correct answer" passage or "incorrect answer" passage. BTW I'm using Harlowe to make this game.

This is the code I'm using.
(set: $easy1answer to (prompt: "Give your answer:"))

(if: $easy1answer contains yesterday)[[[continue|Correct Easy 1]]]
(else:)[[[continue|Incorrect Easy 1]]]

Viewing all articles
Browse latest Browse all 1844

Trending Articles