Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,71 @@
|
|
1 |
-
# Top-Ten-Board-Games-Map-Making-Strategy
|
2 |
import streamlit as st
|
3 |
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
icons = ['πͺ', 'π', 'π€', 'π', 'π§ββοΈ', 'πΊοΈ', 'βοΈ', 'π€', 'π¦ ', 'π']
|
6 |
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
# Game list and associated icons
|
4 |
+
games = [
|
5 |
+
'Terraforming Mars',
|
6 |
+
'Twilight Imperium (Fourth Edition)',
|
7 |
+
'Scythe',
|
8 |
+
'Eclipse',
|
9 |
+
'Small World',
|
10 |
+
'Risk Legacy',
|
11 |
+
'Axis & Allies',
|
12 |
+
'Diplomacy',
|
13 |
+
'Pandemic Legacy: Season 1',
|
14 |
+
'Brass: Birmingham'
|
15 |
+
]
|
16 |
+
|
17 |
icons = ['πͺ', 'π', 'π€', 'π', 'π§ββοΈ', 'πΊοΈ', 'βοΈ', 'π€', 'π¦ ', 'π']
|
18 |
|
19 |
+
# Main code
|
20 |
+
st.title('Top Ten Board Games with Map-Making Strategies πΊοΈ')
|
21 |
+
|
22 |
+
for i, (game, icon) in enumerate(zip(games, icons)):
|
23 |
+
st.markdown(f"{i + 1}. {game} {icon}")
|
24 |
+
|
25 |
+
# Expanders for each game to outline map rules or strategies
|
26 |
+
with st.expander(f"See Map Building & Gamification Strategy for {game}"):
|
27 |
+
|
28 |
+
if game == 'Terraforming Mars':
|
29 |
+
st.markdown("""
|
30 |
+
πͺ **Terraforming Mars Map Strategies**
|
31 |
+
1. π± Opt for plant-heavy areas
|
32 |
+
2. π§ Prioritize water tiles
|
33 |
+
3. π Position factories near energy resources
|
34 |
+
4. π Leverage volcanic areas
|
35 |
+
5. π Control key global parameters
|
36 |
+
6. π‘ Plan your energy grid
|
37 |
+
7. π€οΈ Connect your colonies
|
38 |
+
8. π‘οΈ Master temperature control
|
39 |
+
9. π― Aim for synergies
|
40 |
+
10. π Upgrade spaceports for max mobility
|
41 |
+
""")
|
42 |
+
|
43 |
+
elif game == 'Twilight Imperium (Fourth Edition)':
|
44 |
+
st.markdown("""
|
45 |
+
π **Twilight Imperium Map Strategies**
|
46 |
+
1. π Position fleets in strategic nebulas
|
47 |
+
2. π° Fortify chokepoints
|
48 |
+
3. βοΈ Balance resources among systems
|
49 |
+
4. π Establish effective trade routes
|
50 |
+
5. π‘οΈ Use PDS systems wisely
|
51 |
+
6. π Be cautious around wormholes
|
52 |
+
7. π Prioritize Mecatol Rex
|
53 |
+
8. π Use moons for surprise attacks
|
54 |
+
9. π οΈ Optimize unit upgrades
|
55 |
+
10. π€ Forge strategic alliances
|
56 |
+
""")
|
57 |
|
58 |
+
elif game == 'Scythe':
|
59 |
+
st.markdown("""
|
60 |
+
π€ **Scythe Map Strategies**
|
61 |
+
1. ποΈ Choose starting positions wisely
|
62 |
+
2. π οΈ Optimize for factory cards
|
63 |
+
3. πΊοΈ Be aware of your neighbors
|
64 |
+
4. π Control rivers for mobility
|
65 |
+
5. π Maximize resource buildings
|
66 |
+
6. π‘οΈ Guard against backdoor attacks
|
67 |
+
7. π― Focus on objectives
|
68 |
+
8. πΎ Manage food resources
|
69 |
+
9. π² Play the probabilities
|
70 |
+
10. π Hunt for treasures
|
71 |
+
""")
|