DAY 3: CONTROL FLOW & LOGICAL OPERATORS

<Created a word based game called ‘Treasure Island’. User input is used to check against conditions to move to the next question until they lose or win. >

<Flow Chart using draw.io>

<CODE >

<OUTPUT 1: User turns left>

<OUTPUT 2: User turns right, then user swims>

<OUTPUT 3: User turns right, then user waits, then chooses the yellow door>

<OUTPUT 4: User turns right, then user waits, then chooses the red door>

<OUTPUT 5: User turns right, then user waits, then chooses the blue door>

<OUTPUT 6: User inputs non-existing input>