Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,14 +5,32 @@ import plotly.graph_objects as go
|
|
5 |
import os
|
6 |
|
7 |
PLAYERS = {
|
8 |
-
"Player 1": {"Sketch": "π¨", "Character": "π§ββοΈ", "Player Board": "π", "Action Dice": "π²", "Health Tokens": "β€οΈ", "Coin Tokens": "π°", "Battle Tokens": "βοΈ", "Attack": 5, "Defense": 3},
|
9 |
-
"Player 2": {"Sketch": "π¨", "Character": "π§ββοΈ", "Player Board": "π", "Action Dice": "π²", "Health Tokens": "β€οΈ", "Coin Tokens": "π°", "Battle Tokens": "βοΈ", "Attack": 4, "Defense": 4},
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
}
|
11 |
-
|
12 |
MONSTERS = {
|
13 |
"Goblin": {"Picture": "πΊ", "Description": "A small, mischievous creature with sharp teeth and claws.", "Attack": 2, "Defense": 1},
|
14 |
"Orc": {"Picture": "πΉ", "Description": "A large, brutish humanoid with green skin and a nasty temperament.", "Attack": 4, "Defense": 2},
|
15 |
"Dragon": {"Picture": "π²", "Description": "A massive, fire-breathing beast with scales as hard as steel.", "Attack": 6, "Defense": 5},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
17 |
|
18 |
def get_random_monster():
|
|
|
5 |
import os
|
6 |
|
7 |
PLAYERS = {
|
8 |
+
"Player 1": {"Sketch": "π¨", "Character": "π§ββοΈ", "Player Board": "π", "Action Dice": "π²", "Health Tokens": "β€οΈ", "Coin Tokens": "π°", "Battle Tokens": "βοΈ", "Attack": 5, "Defense": 3, "Class": "Wizard"},
|
9 |
+
"Player 2": {"Sketch": "π¨", "Character": "π§ββοΈ", "Player Board": "π", "Action Dice": "π²", "Health Tokens": "β€οΈ", "Coin Tokens": "π°", "Battle Tokens": "βοΈ", "Attack": 4, "Defense": 4, "Class": "Fighter"},
|
10 |
+
"Player 3": {"Sketch": "π¨", "Character": "π§ββοΈ", "Player Board": "π", "Action Dice": "π²", "Health Tokens": "β€οΈ", "Coin Tokens": "π°", "Battle Tokens": "βοΈ", "Attack": 3, "Defense": 5, "Class": "Ranger"},
|
11 |
+
"Player 4": {"Sketch": "π¨", "Character": "π§ββοΈ", "Player Board": "π", "Action Dice": "π²", "Health Tokens": "β€οΈ", "Coin Tokens": "π°", "Battle Tokens": "βοΈ", "Attack": 4, "Defense": 4, "Class": "Rogue"},
|
12 |
+
"Player 5": {"Sketch": "π¨", "Character": "π§ββοΈ", "Player Board": "π", "Action Dice": "π²", "Health Tokens": "β€οΈ", "Coin Tokens": "π°", "Battle Tokens": "βοΈ", "Attack": 2, "Defense": 6, "Class": "Cleric"},
|
13 |
+
"Player 6": {"Sketch": "π¨", "Character": "π§ββοΈ", "Player Board": "π", "Action Dice": "π²", "Health Tokens": "β€οΈ", "Coin Tokens": "π°", "Battle Tokens": "βοΈ", "Attack": 3, "Defense": 5, "Class": "Barbarian"},
|
14 |
+
"Player 7": {"Sketch": "π¨", "Character": "π§ββοΈ", "Player Board": "π", "Action Dice": "π²", "Health Tokens": "β€οΈ", "Coin Tokens": "π°", "Battle Tokens": "βοΈ", "Attack": 1, "Defense": 7, "Class": "Paladin"},
|
15 |
+
"Player 8": {"Sketch": "π¨", "Character": "π§ββοΈ", "Player Board": "π", "Action Dice": "π²", "Health Tokens": "β€οΈ", "Coin Tokens": "π°", "Battle Tokens": "βοΈ", "Attack": 2, "Defense": 6, "Class": "Bard"}
|
16 |
}
|
17 |
+
|
18 |
MONSTERS = {
|
19 |
"Goblin": {"Picture": "πΊ", "Description": "A small, mischievous creature with sharp teeth and claws.", "Attack": 2, "Defense": 1},
|
20 |
"Orc": {"Picture": "πΉ", "Description": "A large, brutish humanoid with green skin and a nasty temperament.", "Attack": 4, "Defense": 2},
|
21 |
"Dragon": {"Picture": "π²", "Description": "A massive, fire-breathing beast with scales as hard as steel.", "Attack": 6, "Defense": 5},
|
22 |
+
"Cyclops": {"Picture": "ποΈ", "Description": "A one-eyed giant with incredible strength.", "Attack": 8, "Defense": 6},
|
23 |
+
"Minotaur": {"Picture": "π", "Description": "A half-man, half-bull creature with a fierce temper.", "Attack": 5, "Defense": 3},
|
24 |
+
"Medusa": {"Picture": "π", "Description": "A woman with snakes for hair who can turn people to stone with her gaze.", "Attack": 3, "Defense": 2},
|
25 |
+
"Siren": {"Picture": "π§", "Description": "A beautiful creature with the upper body of a woman and the lower body of a bird, whose singing lures sailors to their doom.", "Attack": 1, "Defense": 1},
|
26 |
+
"Kraken": {"Picture": "π¦", "Description": "A massive sea creature with tentacles that can crush ships.", "Attack": 7, "Defense": 4},
|
27 |
+
"Beholder": {"Picture": "ποΈβπ¨οΈ", "Description": "A floating orb covered in eyes, each of which can cast a deadly spell.", "Attack": 9, "Defense": 8},
|
28 |
+
"Chimera": {"Picture": "π²ππ¦", "Description": "A creature with the body of a lion, the head of a goat, and the tail of a dragon.", "Attack": 6, "Defense": 5},
|
29 |
+
"Basilisk": {"Picture": "πποΈ", "Description": "A serpent that can turn people to stone with its gaze.", "Attack": 4, "Defense": 3},
|
30 |
+
"Mimic": {"Picture": "π¦", "Description": "A creature that can disguise itself as a treasure chest and surprise unwary adventurers.", "Attack": 2, "Defense": 1},
|
31 |
+
"Aboleth": {"Picture": "π¦ποΈ", "Description": "A sea monster with slimy tentacles and the power to control people's minds.", "Attack": 7, "Defense": 6},
|
32 |
+
"Troll": {"Picture": "πΉπ¨", "Description": "A regenerating monster that can only be killed with fire or acid.", "Attack": 5, "Defense": 4},
|
33 |
+
"Gorgon": {"Picture": "πποΈβπ¨οΈ", "Description": "A creature with the body of a lion and the head of a snake, whose gaze can turn people to stone.", "Attack": 6, "Defense": 4},
|
34 |
}
|
35 |
|
36 |
def get_random_monster():
|