Spaces:
Runtime error
Runtime error
import streamlit as st | |
# Game list and associated icons | |
games = [ | |
'Terraforming Mars', | |
'Twilight Imperium (Fourth Edition)', | |
'Scythe', | |
'Eclipse', | |
'Small World', | |
'Risk Legacy', | |
'Axis & Allies', | |
'Diplomacy', | |
'Pandemic Legacy: Season 1', | |
'Brass: Birmingham' | |
] | |
icons = ['πͺ', 'π', 'π€', 'π', 'π§ββοΈ', 'πΊοΈ', 'βοΈ', 'π€', 'π¦ ', 'π'] | |
# Main code | |
st.title('Top Ten Board Games with Map-Making Strategies πΊοΈ') | |
for i, (game, icon) in enumerate(zip(games, icons)): | |
st.markdown(f"{i + 1}. {game} {icon}") | |
# Expanders for each game to outline map rules or strategies | |
with st.expander(f"See Map Building & Gamification Strategy for {game}"): | |
if game == 'Terraforming Mars': | |
st.markdown(""" | |
πͺ **Terraforming Mars Map Strategies** | |
1. π± Opt for plant-heavy areas | |
2. π§ Prioritize water tiles | |
3. π Position factories near energy resources | |
4. π Leverage volcanic areas | |
5. π Control key global parameters | |
6. π‘ Plan your energy grid | |
7. π€οΈ Connect your colonies | |
8. π‘οΈ Master temperature control | |
9. π― Aim for synergies | |
10. π Upgrade spaceports for max mobility | |
""") | |
elif game == 'Twilight Imperium (Fourth Edition)': | |
st.markdown(""" | |
π **Twilight Imperium Map Strategies** | |
1. π Position fleets in strategic nebulas | |
2. π° Fortify chokepoints | |
3. βοΈ Balance resources among systems | |
4. π Establish effective trade routes | |
5. π‘οΈ Use PDS systems wisely | |
6. π Be cautious around wormholes | |
7. π Prioritize Mecatol Rex | |
8. π Use moons for surprise attacks | |
9. π οΈ Optimize unit upgrades | |
10. π€ Forge strategic alliances | |
""") | |
elif game == 'Scythe': | |
st.markdown(""" | |
π€ **Scythe Map Strategies** | |
1. ποΈ Choose starting positions wisely | |
2. π οΈ Optimize for factory cards | |
3. πΊοΈ Be aware of your neighbors | |
4. π Control rivers for mobility | |
5. π Maximize resource buildings | |
6. π‘οΈ Guard against backdoor attacks | |
7. π― Focus on objectives | |
8. πΎ Manage food resources | |
9. π² Play the probabilities | |
10. π Hunt for treasures | |
""") | |