Monday, 10 August 2015

Follow the White Rabbit


followTheWhiteRabbit()

class Crash {

    name = "Crash!"
        description = "Scavenger hunt (Schnitzeljagd) for space travellers"
        duration = 3h
        price = "Certified Mixer of the Pangalactic Gargle Blaster"

        function play() {
                if (won == 1) {
                        print("Congratulations! You are now a " + price)
            exit program
                } else {
                        solve next task and have fun
                }
        }
}

function doShitAtTheCamp() {
        enjoy the camp and be excellent to each other!
}

function followTheWhiteRabbit() {

        while (universe) {
                if (now > day4) {
                        exit program
                } else if (now < tag1) {
                        do something useful
                } else {
                        if (me.like("C2H5OH") && me.compareTo("Homo Ludens") > 0.5) {
                                if (Crash has started) {
                                        Crash.play() || doShitAtTheCamp()
                                } else {
                                        download app at "https://toto.io/"
                                        start Crash
                                        // find the crashed escape pod
                                        // [optional] ask at BER for help
                                        Crash.play() || doShitAtTheCamp()
                                }
                        } else {
                                doShitAtTheCamp()
                        }
                }
        }
}


Thank you!

 



from SpaceBlogs http://ift.tt/1Tl4nP5
via IFTTThttp://ift.tt/eA8V8J

No comments:

Post a Comment