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

Attempting to program a game of Hide'n'Seek...

$
0
0
Using Twine 2, Harlowe...

I have 5 'kids' that need to go hide in 8 rooms. I can use the code below to randomize which room 'kid 1' ends up in...
(set: $hss1_r to (either: 1, 2, 3, 4, 5, 6, 7, 8))

But then I run the risk of having multiple 'kids' in a single room if one of the others rolls the same number as 'kid 1', which I'd like to avoid.

I'm having no luck figuring this out myself. It may well just be my own mental exhaustion after a long day of work and cleaning up coding glitches I've made and found (being rather an amateur at this still), and I'm sure I'd figure it out eventually, but I still have quite a bit of story I'd like to get through this week.

Any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 1844

Trending Articles