awacke1 commited on
Commit
bc81310
·
verified ·
1 Parent(s): 24c60de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +100 -88
app.py CHANGED
@@ -55,104 +55,116 @@ st.set_page_config(
55
  }
56
  )
57
 
58
- PromptPrefix = 'Create a markdown outline and table with appropriate emojis for word game rules defining the method steps of play for topic of '
59
- PromptPrefix2 = 'Create a streamlit python user app. Show full code listing. Create a UI implementing each feature using variables, reusable functions with parameters, and data driven app with python libraries and streamlit components for Javascript and HTML5. Use appropriate emojis for labels to summarize and list parts, function, conditions for topic: '
60
-
61
- st.markdown('''### 📖✨🔍 WordGameAI ''')
62
- with st.expander("Help / About 📚", expanded=False):
63
- st.markdown('''
64
- - 🚀 **Unlock Words:** Elevate your vocabulary with AI. Turns words into thrilling experiences.
65
- - 📚 **Features:** Creates extensive glossaries & exciting challenges.
66
- - 🧙‍♂️ **Experience:** Become a word wizard, boost your language skills.
67
- - 🔎 **Query Use:** Input `?q=Palindrome` or `?query=Anagram` in URL for new challenges.
68
- ''')
69
-
70
 
 
71
  roleplaying_glossary = {
72
- "👨‍👩‍👧‍👦 Top Family Games": {
73
- "Big Easy Busket": ["New Orleans culture", "Band formation", "Song performance", "Location strategy", "Diversity celebration", "3-day gameplay"],
74
- "Bonanza": [
75
- "Bean planting and harvesting",
76
- "Bid and trade interaction",
77
- "Quirky card artwork",
78
- "Hand management",
79
- "Negotiation skills",
80
- "Set collecting",
81
- "Fun with large groups",
82
- "Laughter and enjoyment"
83
  ],
84
- "Love Letter": [
85
- "Valentine's Day theme",
86
- "Simple gameplay mechanics",
87
- "Card effects and strategy",
88
- "Deduction to find love letter's sender",
89
- "Take that elements",
90
- "Fun for celebrating love",
91
- "Engagement and elimination",
92
- "Quick and engaging play"
93
  ],
94
- "The Novel Shogun": [
95
- "Japanese History 1600s",
96
- "Perrigrine Falcon",
97
- "Yellow Nape Amazon Parrot",
98
- "Bill Ackman on Investing",
99
- "Portugal History 1600s",
100
- "England History 1600s",
101
- "Building a Board with Different Points of View",
102
- "Canadian Pacific Railway",
103
- "Merchant Ships and Pilots"
 
 
104
  ],
105
- "Votes for Women": [
106
- "World Social Justice Day theme",
107
- "Card-driven game exploring American women's suffrage movement",
108
- "1 to 4 player game",
109
- "Released in 2022 by Fort Circle Games",
110
- "Covers 1848 to 1920 suffrage movement",
111
- "Includes competitive, cooperative, and solitary play modes",
112
- "Engages players in the ratification or rejection of the 19th Amendment",
113
- "Educational content on women's rights history",
114
- "Mechanics include area majority, dice rolling, cooperative play, and campaign-driven gameplay"
115
  ],
116
  },
117
- "📚 Traditional Word Games": {
118
- "Scrabble": ["Tile placement", "Word formation", "Point scoring"],
119
- "Boggle": ["Letter grid", "Timed word search", "Word length points"],
120
- "Crossword Puzzles": ["Clue solving", "Word filling", "Thematic puzzles"],
121
- "Banagrams": ["Tile shuffling", "Personal anagram puzzles", "Speed challenge"],
122
- "Hangman": ["Word guessing", "Letter guessing", "Limited attempts"],
123
- },
124
- "💡 Digital Word Games": {
125
- "Words With Friends": ["Digital Scrabble-like", "Online multiplayer", "Social interaction"],
126
- "Wordle": ["Daily word guessing", "Limited tries", "Shareable results"],
127
- "Letterpress": ["Competitive word search", "Territory control", "Strategic letter usage"],
128
- "Alphabear": ["Word formation", "Cute characters", "Puzzle strategy"],
129
- },
130
- "🎮 Game Design and Mechanics": {
131
- "Gameplay Dynamics": ["Word discovery", "Strategic placement", "Time pressure"],
132
- "Player Engagement": ["Daily challenges", "Leaderboards", "Community puzzles"],
133
- "Learning and Development": ["Vocabulary building", "Spelling practice", "Cognitive skills"],
134
- },
135
- "🌐 Online Platforms & Tools": {
136
- "Multiplayer Platforms": ["Real-time competition", "Asynchronous play", "Global matchmaking"],
137
- "Educational Tools": ["Learning modes", "Progress tracking", "Skill levels"],
138
- "Community Features": ["Forums", "Tips and tricks sharing", "Tournament organization"],
139
- },
140
- "🎖️ Competitive Scene": {
141
- "Scrabble Tournaments": ["Official rules", "National and international", "Professional rankings"],
142
- "Crossword Competitions": ["Speed solving", "Puzzle variety", "Prizes and recognition"],
143
- "Wordle Challenges": ["Streaks", "Perfect scores", "Community leaderboards"],
 
 
 
 
 
144
  },
145
- "📚 Lore & Background": {
146
- "History of Word Games": ["Evolution over time", "Cultural significance", "Famous games"],
147
- "Iconic Word Game Creators": ["Creators and designers", "Inspirational stories", "Game development"],
148
- "Word Games in Literature": ["Literary puzzles", "Wordplay in writing", "Famous examples"],
 
 
 
 
 
 
 
 
149
  },
150
- "🛠️ Resources & Development": {
151
- "Game Creation Tools": ["Word game generators", "Puzzle design software", "Community mods"],
152
- "Educational Resources": ["Vocabulary lists", "Word game strategies", "Learning methodologies"],
153
- "Digital Platforms": ["App development", "Online game hosting", "Social media integration"],
 
 
 
 
 
 
 
 
154
  },
155
-
156
  }
157
 
158
 
 
55
  }
56
  )
57
 
58
+ PromptPrefix = 'Create a markdown outline and table for a graphic novel with appropriate emojis for image slide theme names for plates and rules defining the method steps of plot lines begin to end (in ten steps or so) for topic of '
59
+ PromptPrefix2 = 'Create a streamlit python app with graphic novel features with art images and longer caption readings of mini stories, rhymes, songs and literary wit in form of graphic novels that are new and original. Show full code listing as streamlit app with procedural story telling based on functions variables and rules discussed in afformentioned method steps.. Create a UI implementing each feature using variables, reusable functions with parameters, and data driven application techniques using streamlit and/or gradio with python libraries and web components for Javascript and HTML5 including three.JS and Aframe if appropriate. Use appropriate emojis for all UI features and labels to focus on short list (1-3) lists of key parts, functions, relations, and conditions for topic: '
 
 
 
 
 
 
 
 
 
 
60
 
61
+ st.markdown('''### 📖✨🔍 Graphic Novel AI ''')
62
  roleplaying_glossary = {
63
+ "🧙‍♂️ Fantasy Realms": {
64
+ "Kingdom Under Siege": ["Dark sorcery", "Dragon invasions", "Epic battles", "Quest for legendary artifacts", "Prophecies and destinies", "Betrayal and redemption"],
65
+ "Wizard's Apprentice": [
66
+ "Magical academy",
67
+ "Arcane secrets",
68
+ "Summoning mythical creatures",
69
+ "Forbidden spells",
70
+ "Rivalry among wizards",
71
+ "Journey to save the realm",
72
+ "Ancient prophecies",
73
+ "Taming ancient beasts"
74
  ],
75
+ "Elven Chronicles": [
76
+ "Elven civilization",
77
+ "Forest guardians",
78
+ "War against darkness",
79
+ "Alliance with dwarves",
80
+ "Legendary weapons",
81
+ "Lost realms",
82
+ "Spiritual journeys",
83
+ "Rebellion against tyranny"
84
  ],
85
+ },
86
+ "🦸 Superhero Adventures": {
87
+ "City of Shadows": ["Mysterious disappearances", "Supernatural occurrences", "Vigilante justice", "Secret identities", "Crime syndicates", "Morally ambiguous choices"],
88
+ "Heroic Origins": [
89
+ "Unleashing newfound powers",
90
+ "Discovering hidden lineage",
91
+ "Training with mentors",
92
+ "Encountering arch-nemeses",
93
+ "Exploring alternate dimensions",
94
+ "Team-up with other heroes",
95
+ "Navigating public perception",
96
+ "Balancing personal life with heroics"
97
  ],
98
+ "Infinity Nexus": [
99
+ "Cosmic threats",
100
+ "Interdimensional warfare",
101
+ "Time-bending adversaries",
102
+ "Epic space battles",
103
+ "Alliances with alien races",
104
+ "Guardians of the galaxy",
105
+ "Quests for ancient artifacts",
106
+ "Existential dilemmas"
 
107
  ],
108
  },
109
+ "🚀 Sci-Fi Sagas": {
110
+ "Galactic Conquest": ["Intergalactic empires", "Robotic uprisings", "Space exploration", "AI rebellion", "Cybernetic enhancements", "Temporal paradoxes"],
111
+ "Alien Encounters": [
112
+ "First contact scenarios",
113
+ "Xenomorph invasions",
114
+ "Planetary colonization",
115
+ "Rogue AI civilizations",
116
+ "Intergalactic diplomacy",
117
+ "Space piracy",
118
+ "Mysterious anomalies",
119
+ "Existential threats"
120
+ ],
121
+ "Cyberpunk Dystopia": [
122
+ "Megacorporation dominance",
123
+ "Neon-lit streets",
124
+ "Cybernetic enhancements",
125
+ "Underground resistance",
126
+ "Virtual reality addiction",
127
+ "Hackers and technomancers",
128
+ "Corporate espionage",
129
+ "Class warfare"
130
+ ],
131
+ "Post-Apocalyptic Odyssey": [
132
+ "World devastated by cataclysmic event",
133
+ "Survival in harsh environments",
134
+ "Scavenging for resources",
135
+ "Encounters with mutated creatures",
136
+ "Struggle for power in a lawless society",
137
+ "Journey to find sanctuary",
138
+ "Rebuilding civilization",
139
+ "Exploration of the remnants of the old world"
140
+ ],
141
  },
142
+ "😂 Comedy Capers": {
143
+ "Misadventures of Mischief": ["Pranks gone wrong", "Absurd misunderstandings", "Comic relief sidekicks", "Hilarious hijinks", "Whimsical escapades", "Slapstick comedy"],
144
+ "Surreal Shenanigans": [
145
+ "Reality-bending antics",
146
+ "Fourth-wall breaks",
147
+ "Meta-humor",
148
+ "Ridiculous scenarios",
149
+ "Quirky characters",
150
+ "Parodies of pop culture",
151
+ "Satirical commentary",
152
+ "Unexpected plot twists"
153
+ ],
154
  },
155
+ "🎭 Dramatic Epics": {
156
+ "Tragic Heroes": ["Heart-wrenching sacrifices", "Impossible choices", "Inevitable betrayals", "Redemption arcs", "Tortured souls", "Unrequited love"],
157
+ "Family Feuds": [
158
+ "Generational conflicts",
159
+ "Secret family legacies",
160
+ "Sibling rivalries",
161
+ "Parental expectations",
162
+ "Forbidden romances",
163
+ "Legacy of past mistakes",
164
+ "Reconciliation journeys",
165
+ "Personal growth through adversity"
166
+ ],
167
  },
 
168
  }
169
 
170