File size: 1,340 Bytes
85ae7ed
 
 
 
 
 
 
 
 
 
 
 
 
 
48cf4d2
b8374b1
85ae7ed
 
 
 
 
 
48cf4d2
925eb24
85ae7ed
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import streamlit as st
import plotly.express as px
import pandas as pd
import numpy as np
import base64

def generate_values(n):
    return {"HealthPoints": np.random.randint(50, 100, size=n), 
            "Coins": np.random.randint(10, 50, size=n)}

def app():
    st.title("Game Mechanics Treemap Chart")
    st.write("This app displays a Treemap chart of game mechanics.")

        
    game_mechanics = ["Action Queue โฑ๏ธ", "Action Retrieval ๐Ÿ”", 
                              "Campaign / Battle Card Driven ๐Ÿ—ƒ๏ธ", "Card Play Conflict Resolution ๐Ÿ’ณ๐Ÿค", 
                              "Communication Limits ๐Ÿ™Š", "Cooperative Game ๐Ÿค๐Ÿ‘ฅ", "Critical Hits and Failures ๐Ÿ’ฅ๐Ÿ’”", 
                              "Deck Construction ๐ŸŽด๐Ÿ› ๏ธ", "Grid Movement ๐Ÿ—บ๏ธ", "Hand Management ๐Ÿ–๏ธ๐Ÿ“Š", 
                              "Hexagon Grid ๐Ÿ”ณ", "Legacy Game ๐ŸŽ“๐ŸŽฎ", "Line of Sight ๐Ÿ‘€", "Modular Board ๐Ÿงฉ", 
                              "Once-Per-Game Abilities ๐ŸŒŸ", "Role Playing ๐ŸŽญ", "Scenario / Mission / Campaign Game ๐ŸŽฏ", 
                              "Simultaneous Action Selection ๐Ÿคœ๐Ÿค›", "Solo / Solitaire Game ๐Ÿ•บ", "Storytelling ๐Ÿ“–", 
                              "Variable Player Powers ๐Ÿฆธโ€โ™‚๏ธ๐Ÿฆนโ€โ™€๏ธ"]
    st.write(game_mechanics)

if __name__ == '__main__':
    app()