PROJECT: SCAVENGER HUNT (KISS VERSION - NO DATABASE)

--------------------------------------------------
1. DATA STORAGE (PHP ARRAY)
--------------------------------------------------

All points stored in a PHP table:

$hunt_points = array(

    array(
        "hunt_id" => 1,
        "step" => 1,
        "lat" => 49.4875,
        "lng" => 8.4660,
        "question" => "What color is the door?",
        "answer" => "red"
    ),

    array(
        "hunt_id" => 1,
        "step" => 2,
        "lat" => 49.4880,
        "lng" => 8.4670,
        "question" => "How many windows?",
        "answer" => "3"
    )

);

--------------------------------------------------
2. GAME LOGIC
--------------------------------------------------

- filter by hunt_id
- find step = current session step

loop example:

foreach ($hunt_points as $p) {
    if ($p["hunt_id"] == $hunt_id AND $p["step"] == $step) {
        $current = $p;
    }
}

--------------------------------------------------
3. ADVANTAGES
--------------------------------------------------

- no database
- ultra simple
- portable (1 file)
- fast testing

--------------------------------------------------
4. LIMITS
--------------------------------------------------

- not dynamic
- must edit file manually
- no multi users at scale

--------------------------------------------------
5. KISS USAGE
--------------------------------------------------

Perfect for:
- prototype
- small game
- testing idea

--------------------------------------------------
END
--------------------------------------------------