示例#1
0
    def setup_engineering_101(self):
        aq1 = self.setup_academy_question("What tools use engineers?",
                                          "Science & Math", "Greek Mythology",
                                          "Needle's & IV-Bags",
                                          "Gene Sequencers")
        aq2 = self.setup_academy_question("What do engineers do?",
                                          "Solve problems!", "Clean wounds!",
                                          "Categorize Plants!",
                                          "Testing soil!")
        aq3 = self.setup_academy_question(
            "What type of engineer does not exists?", "Flying Engineer!",
            "Software Engineer!", "Chemical Engineer!", "Mechanical Engineer!")

        ap = AcademyProgram(
            name="Engineering 101",
            desc="What is engineering?",
            cost=50,
            tutorial_text="""<center><iframe style="margin: 0 auto" width="560"
            height="315" src="//www.youtube.com/embed/bipTWWHya8A" frameborder="0" allowfullscreen></iframe></center>"""
        )
        ap.save()
        ap.planets.add(self.locations.EARTH)
        ap.questions.add(aq1)
        ap.questions.add(aq2)
        ap.questions.add(aq3)
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=1,
                              category=self.ENGINEERING)))
        ap.save()
示例#2
0
    def setup_basic_solar_system(self):
        aq1 = self.setup_academy_question(
            "What contributes to the flat solar system?", "Collisions!",
            "Cohesion!", "Adhesion!", "Vacuum!")
        aq2 = self.setup_academy_question(
            "What contributes to the flat solar system?", "3D Space!",
            "Vacuum!", "Cohesion!", "Adhesion!")
        aq3 = self.setup_academy_question("What shape has our solar system?",
                                          "Flat", "Round", "Cylindrical",
                                          "Egg shaped")

        ap = AcademyProgram(name="Physics",
                            desc="Why is the solar system flat?",
                            cost=200,
                            tutorial_text="""<center>
            <iframe width="560" height="315" src="//www.youtube.com/embed/tmNXKqeUtJM" frameborder="0"
            allowfullscreen></iframe></center>""")
        ap.save()
        ap.planets.add(self.locations.EARTH)
        ap.questions.add(aq1)
        ap.questions.add(aq2)
        ap.questions.add(aq3)
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=2,
                              category=self.PHYSICS)))

        ap.save()
示例#3
0
    def setup_basic_chemistry(self):

        aq2 = self.setup_academy_question("What molecules define water?",
                                          "Hydrogen & Oxygen",
                                          "Carbon & Oxygen",
                                          "Sulfur & Hydrogen", "Only hydrogen")
        aq3 = self.setup_academy_question(
            "How can you split water in it's elemental parts? ",
            "By electricity", "By temperature", "By light", "By pressure")
        aq4 = self.setup_academy_question("Which melting point has water??",
                                          "0 Degree", "100 Degree",
                                          "42 Degree", "212 Degree")

        ap = AcademyProgram(name="Chemistry - Basic",
                            desc="What is chemistry?",
                            cost=150,
                            tutorial_text="""<center>
                   <iframe width="420" height="315" src="//www.youtube.com/embed/5BrIZqyG6rA" frameborder="0" allowfullscreen></iframe></center>"""
                            )
        ap.save()
        ap.planets.add(self.locations.EARTH)
        ap.questions.add(aq2)
        ap.questions.add(aq3)
        ap.questions.add(aq4)
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=2,
                              category=self.CHEMISTRY)))

        ap.save()
示例#4
0
    def setup_basic_first_aid(self):

        aq1 = self.setup_academy_question(
            "What colour should your medical bag be?", "Orange", "Grey",
            "Black", "White")
        aq2 = self.setup_academy_question("What should be in the medical bag?",
                                          "Bandages", "Blanket", "Gun",
                                          "Candles")
        aq3 = self.setup_academy_question(
            "What should you do next to having a medical bag?",
            "Take a medical course", "Play EMT", "Train CPR on your friend",
            "Take medicine")

        ap = AcademyProgram(name="Medical - Basic",
                            desc="Basic first aid kit",
                            cost=150,
                            tutorial_text="""<center>
            <iframe width="560" height="315" src="//www.youtube.com/embed/5Oq4xnaET2Q" frameborder="0" allowfullscreen></iframe></center>"""
                            )
        ap.save()
        ap.planets.add(self.locations.EARTH)
        ap.questions.add(aq1)
        ap.questions.add(aq2)
        ap.questions.add(aq3)
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=2,
                              category=self.MEDICAL)))

        ap.save()
示例#5
0
    def setup_basic_geology101(self):

        aq1 = self.setup_academy_question("What does calving mean?",
                                          "Glaciers loose parts!",
                                          "Glaciers move!",
                                          "Glaciers go dark!",
                                          "Glaciers saving sun energy!")
        aq2 = self.setup_academy_question("What means less ice in the artic?",
                                          "Less sunlight reflection!",
                                          "More sunlight reflection!",
                                          "No change at all!",
                                          "Lower Sea levels!")
        aq3 = self.setup_academy_question(
            "What country could suffer from rising sea levels?", "Bangladesh",
            "Peru", "Australia", "Switzerland")

        ap = AcademyProgram(name="Geology - Climate",
                            desc="The arctic battleground!",
                            cost=150,
                            tutorial_text="""<center>
            <iframe width="560" height="315" src="//www.youtube.com/embed/ircJWRUdoeg" frameborder="0" allowfullscreen></iframe></center>"""
                            )
        ap.save()
        ap.planets.add(self.locations.EARTH)
        ap.questions.add(aq1)
        ap.questions.add(aq2)
        ap.questions.add(aq3)
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=2,
                              category=self.GEOLOGY)))

        ap.save()
示例#6
0
    def setup_basic_biology(self):

        aq2 = self.setup_academy_question(
            "What is an ecosystem?",
            "Group of organisms in a specific area and the non-living things",
            "Group of organisms with the same ancestor",
            "Group of land animals", "System of maximal three animals")
        aq3 = self.setup_academy_question("What is not a biome?", "Space",
                                          "Desert", "City", "Grassland")
        aq4 = self.setup_academy_question(
            "What is a category for factors that determine how a place looks like?",
            "Abiotic", "Probiotic", "Antibiotic", "Postbiotic")
        aq5 = self.setup_academy_question(
            "What is a category for factors that determine how a place looks like?",
            "Biotic", "Probiotic", "Antibiotic", "Postbiotic")

        ap = AcademyProgram(name="Biology - Basic",
                            desc="What is ecology?",
                            cost=150,
                            tutorial_text="""<center>
                   <iframe width="560" height="315" src="//www.youtube.com/embed/izRvPaAWgyw" frameborder="0" allowfullscreen></iframe></center>"""
                            )
        ap.save()
        ap.planets.add(self.locations.EARTH)
        ap.questions.add(aq2)
        ap.questions.add(aq3)
        ap.questions.add(aq4)
        ap.questions.add(aq5)
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=2,
                              category=self.BIOLOGY)))

        ap.save()
示例#7
0
    def setup_basic_science_101(self):

        aq1 = self.setup_academy_question("What do scientist's not do?",
                                          "Make up data!",
                                          "Write publications!",
                                          "Make hypothesis!",
                                          "Present results!")
        aq2 = self.setup_academy_question("Science is a ______ process!",
                                          "non-linear", "linear", "obvious",
                                          "easy")
        aq3 = self.setup_academy_question(
            "What do you need, to perform science?", "Nothing", "Be a doctor!",
            "Be a student!", "Be a professor!")

        ap = AcademyProgram(name="Science 101",
                            desc="What is Science?",
                            cost=150,
                            tutorial_text="""<center>
            <iframe width="560" height="315" src="//www.youtube.com/embed/Jj9iNphbY88"
            frameborder="0" allowfullscreen></iframe></center>""")
        ap.save()
        ap.planets.add(self.locations.EARTH)
        ap.questions.add(aq1)
        ap.questions.add(aq2)
        ap.questions.add(aq3)
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=1,
                              category=self.NAVIGATION)))
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=1,
                              category=self.PHYSICS)))
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=1,
                              category=self.MEDICAL)))
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=1,
                              category=self.CHEMISTRY)))
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=1,
                              category=self.BIOLOGY)))
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=1,
                              category=self.ENGINEERING)))
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=1,
                              category=self.INFORMATICS)))
        ap.reward.add(
            self.save_and_get(
                AcademyReward(name="Lohn",
                              desc="Lohn1",
                              amount=1,
                              category=self.GEOLOGY)))

        ap.save()