awacke1 commited on
Commit
e13c8fa
β€’
1 Parent(s): 531eea3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +66 -4
app.py CHANGED
@@ -1,9 +1,71 @@
1
- # Top-Ten-Board-Games-Map-Making-Strategy
2
  import streamlit as st
3
 
4
- games = ['Terraforming Mars', 'Twilight Imperium (Fourth Edition)', 'Scythe', 'Eclipse', 'Small World', 'Risk Legacy', 'Axis & Allies', 'Diplomacy', 'Pandemic Legacy: Season 1', 'Brass: Birmingham']
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  icons = ['πŸͺ', 'πŸš€', 'πŸ€–', '🌌', 'πŸ§β€β™‚οΈ', 'πŸ—ΊοΈ', 'βš”οΈ', '🀝', '🦠', '🏭']
6
 
7
- for i, game in enumerate(games):
8
- st.markdown(f"{i+1}. {game} {icons[i]}")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ """)