Inventory:\n\s\n<<if $player1 is $currentplayer>> \s\n<<print $player1inventory.join()>>\s\n<<endif>>\s\n\s\n<<if $player2 is $currentplayer>> \s\n<<print $player2inventory.join()>>\s\n<<endif>>\s\n\s\n<<if $player3 is $currentplayer>> \s\n<<print $player3inventory.join()>>\s\n<<endif>>\s\n\s\n<<if $player4 is $currentplayer>> \s\n<<print $player4inventory.join()>>\s\n<<endif>>\s\n\s\n\n<<textinput $use "[[Use|Item]]">>\n\n[[If resources are not usefull|draw a card]]\n[[Give resource to player in need|give cards]]\n[[Go back|current state]]\n
Give to player:<<textinput $toplayer>>\nGive:<<textinput $item "[[Give!|current state]]">> \n
Player 1:<<$player1>>\nPlayer 2:<<$player2>>\nPlayer 3:<<$player3>>\nPlayer 4:<<$player4>>\n<<set $currentplayer = $player1>>\n
/% Place your story's setup code in this passage.\nAny macros in this passage will be run before the Start passage (or any passage you wish to Test Play) is run. %/\n<<set $cards = ["tall grass", "machete", "vines", "lightsaber", "quick sand", "Big Spider Web",]>>\n<<set $player1inventory = []>> \n<<set $player2inventory = []>> \n<<set $player3inventory = []>> \n<<set $player4inventory = []>> \n<<set $length = $cards.length>>\n<<set $currentpath = ["vines", "vines", "Big Spider Web", "quick sand"]>>
Current obstacle <<print $currentpath[0]>>\nObstacles left: <<$currentpath.length>>\n[[use item from inventory]]\n[[draw a card]]\n\n\n<<if $currentpath.length is 0>>\nYou win!!!!\n<<endif>>
Insert Player Names\n\s\nPlayer 1:<<textinput $player1>> \nPlayer 2:<<textinput $player2>>\nPlayer 3:<<textinput $player3>>\nPlayer 4:<<textinput $player4 "[[Let's Go!|PlayerNames]]"]]>>
[[You spawn in exotic place on a different planet light years away from earth|InsertNames]]
<<$currentpath.splice(0,1)>>\n[[path|current state]]
Miguel Avalos \nJosue Guerrero\nAngel Soriano \nFrancisco Rosales\nDiego Rodriguez
The current player is:<b><<print $currentplayer>></b>\n<<set $currentcard to either($cards)>>\n\s\n<<if $player1 is $currentplayer>> \n<<silently>><<$player1inventory.push($currentcard)>><<endsilently>>\n<<print $player1inventory.join()>>\n<<endif>>\n\s\n<<if $player2 is $currentplayer>> \n<<silently>><<$player2inventory.push($currentcard)>><<endsilently>>\n<<print $player2inventory.join()>>\n<<endif>>\n\s\n<<if $player3 is $currentplayer>> \n<<silently>><<$player3inventory.push($currentcard)>><<endsilently>>\n<<print $player3inventory.join()>>\n<<endif>>\n\s\n<<if $player4 is $currentplayer>> \n<<silently>><<$player4inventory.push($currentcard)>><<endsilently>>\n<<print $player4inventory.join()>>\n<<endif>>\n[[Once you have drawn a card go back to current state|current state]]\n
Exotic Unity
Hello! \n<<if !($player1 is "")>>\s\n<<print $player1>>\n<<endif>>\s\n\s\n<<if !($player2 is "")>>\s\n<<print $player2>>\n<<endif>>\s\n\s\n<<if !($player3 is "")>>\s\n<<print $player3>>\n<<endif>>\s\n\s\n<<if !($player4 is "")>>\s\n<<print $player4>>\n<<endif>>\n[[Each player widthdraw a card|current state]]