Beispiel #1
0
 def labyrinth():
     board.name = "Labyrinth"
     board.last_move_message.append(f"Hm... very nice place")
     board.monsters = [
         Monster.rat(9, 7),
     ]
     board.add_object_in_random_pos(Monster.troll, count=2)
     board.treasures = [
         Treasure(position_x=10, position_y=0),
         Treasure(position_x=5, position_y=9)
     ]
     return board
Beispiel #2
0
        def plain():
            board.name = "Plain"
            board.last_move_message.append(
                f"I see guards here, let's talk with them!")
            board.npc = [NPC("Guard", "G", 4, 8), NPC('Guard', 'G', 4, 10)]
            board.treasures = [
                Treasure(position_x=5, position_y=8, is_locked=True),
                Treasure(position_x=5, position_y=10)
            ]
            board.add_object_in_random_pos(Monster.rat, count=1)
            board.add_object_in_random_pos(Monster.snake, count=1)

            return board
Beispiel #3
0
 def highway_to_hell():
     board.name = "highway_to_hell"
     board.last_move_message.append(
         f"This place was made for such a creatures")
     board.monsters = [
         Monster.troll_warrior(1, 2, game.difficulty_level),
         Monster.rat(4, 5, game.difficulty_level),
         Monster.troll_warrior(7, 15, game.difficulty_level),
         Monster.rat(11, 8, game.difficulty_level)
     ]
     board.treasures = [
         Treasure(position_x=1, position_y=20, is_locked=True),
         Treasure(position_x=2, position_y=21)
     ]
     return board
Beispiel #4
0
 def city():
     board.name = "City"
     board.last_move_message.append(
         f"Thanks God! Normal people around!")
     board.npc = [
         NPCS.king(1, 10),
         NPC("Guard", "G", 2, 6),
         NPC('Guard', 'G', 2, 14)
         #  NPC.eastern_guard(11, 20)
     ]
     board.treasures = [
         Treasure(position_x=1, position_y=4),
         Treasure(position_x=1, position_y=5),
         Treasure(position_x=1, position_y=15),
         Treasure(position_x=1, position_y=16),
     ]
     board.add_object_in_random_pos(Monster.rat, count=3)
     return board
Beispiel #5
0
        def troll_cave_entry():
            board.name = "Troll cave entry"
            board.last_move_message.append(f"Such a stinky place...")
            board.monsters = [
                Monster.troll(2, 5, game.difficulty_level),
                Monster.troll(5, 12, game.difficulty_level),
                Monster.troll(9, 8, game.difficulty_level),
            ]
            board.treasures = [
                Treasure(position_x=4, position_y=15),
                Treasure(position_x=7, position_y=15, is_locked=True)
            ]
            board.monsters[0].move_type = MOVES_TYPES.STAY
            board.monsters[1].move_type = MOVES_TYPES.STAY
            board.monsters[2].move_type = MOVES_TYPES.STAY
            board.add_object_in_random_pos(Monster.rat, count=2)

            return board
Beispiel #6
0
 def demonic_maze():
     board.name = "Demonic maze"
     board.last_move_message.append(f"I feel odour of sulfur and death")
     board.is_boss_on_map = True
     list_of_positions = board.boss_positons()
     board.monsters = [
         Monster.troll_warrior(1, 18, game.difficulty_level),
         Monster.rat(3, 10, game.difficulty_level),
         Monster.troll_warrior(7, 15, game.difficulty_level),
         Monster.troll_warrior(2, 2, game.difficulty_level),
         Monster.finall_boss(list_of_positions[0][0],
                             list_of_positions[0][1], list_of_positions,
                             game.difficulty_level)
     ]
     board.treasures = [
         Treasure(position_x=2, position_y=18, is_locked=True),
         Treasure(position_x=8, position_y=20),
         Treasure(position_x=2, position_y=10, is_locked=True)
     ]
     return board
Beispiel #7
0
        def troll_cave():
            board.name = "Troll cave"
            board.last_move_message.append(f"Yay, Trolls everywhere!")
            board.monsters = [
                Monster.troll_warrior(1, 2, game.difficulty_level),
                Monster.troll(4, 5, game.difficulty_level),
                Monster.troll(6, 5, game.difficulty_level),
                Monster.troll(5, 6, game.difficulty_level),
                Monster.troll(5, 4, game.difficulty_level)
            ]
            board.npc = [
                NPCS.troll_king(5, 5, game.difficulty_level),
                NPCS.fake_wall(6, 11, name="Hole in the wall"),
            ]
            board.monsters[0].move_type = MOVES_TYPES.STAY
            board.treasures = [Treasure(position_x=7, position_y=4)]

            return board