the guru climbed to the top of a tree and looked around.
[php]if ($_SESSION[‘spot’] == true) {
if (($_SESSION[‘caughtthief’] != true) and ($_SESSION[‘boatperc’] > 0)) {[/php]
the guru saw a thief stealing his boat.
should he climb down and confront the thief?[php]} else {[/php]
the guru didn’t see anything he hadn’t already seen.
should he climb back down?
[php]}} else {[/php]
the guru saw a great spot to build a boat in the village.
should he climb back down?
[php]
$_SESSION[‘spot’] = true;
}[/php]