Skip to content

deprimus/CodeForEurope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

141 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›๏ธ Parliament Hero

Parliament Hero is an educational role-playing game that places players in the heart of the European democratic process. It teaches critical civic skills such as identifying disinformation, researching laws, and making informed decisions โ€” all through an engaging game loop based on real EU values, structures, and challenges.

Parliament here representing picture

๐Ÿ”— Quick Links


๐Ÿ“‘ Table of Contents


๐ŸŽฏ What You'll Learn

Through interactive missions and dynamic NPC interactions, players will explore:

  • ๐Ÿ“œ The role and responsibilities of the European Parliament
  • ๐Ÿ—ณ๏ธ The importance of civic participation and informed voting
  • ๐Ÿ•ต๏ธ Strategies to recognize, prebunk, and debunk disinformation through research and critical thinking

๐ŸŸฆ๐ŸŸจ๐ŸŸฉ๐ŸŸฅ Factions: Choose Your Democratic Identity

Players align with one of four democratic factions, which reflect the diversity of ideologies in the European Parliament:

  • ๐ŸŸฆ Traditionalists โ€“ heritage, stability, national identity
  • ๐ŸŸจ Liberals โ€“ individual freedoms, market economy, reform
  • ๐ŸŸฉ Greens โ€“ sustainability, climate action, social justice
  • ๐ŸŸฅ Progressives โ€“ innovation, equality, inclusive growth

Each faction provides a lens through which players view new laws, debates, and decision-making. Factions influence your gameplay, alliances, and ultimate reputation.


๐Ÿ” Gameplay Loop: The Four Steps of Democracy

๐Ÿงพ Step 1 โ€“ A Law Appears

Each round begins with a new law proposal from one of the major policy areas. These laws simulate real-life situations where people may only hear headlines or partial information โ€” and must decide what to do next.

NPCs react immediately, with mood bars showing their opinions. These quick impressions mimic how real citizens and politicians may initially react without full context. Itโ€™s now up to the player to learn more.

โžก๏ธ This step highlights the challenge of limited knowledge and encourages curiosity, skepticism, and further inquiry.

Step one


๐Ÿข Step 2 โ€“ The Office

Players are then placed in a more interactive environment: the Office, where they meet a variety of individuals and institutions who present their opinions or lobby for or against proposed laws.

This mirrors day-to-day real-world information exposure: news articles, conversations, influencers, and social media posts.

Some of these sources are trustworthy โ€” others are not.

Players must:

  • Examine biases and political inclinations
  • Distinguish between reliable and unreliable information
  • Begin to suspect potential disinformation or manipulation

โžก๏ธ This stage develops information filtering and teaches players to question sources before accepting them as fact.

๐Ÿ‘‰ View "Step Two" as a GIF (opens in new tab)


๐Ÿ“š Step 3 โ€“ The Library

This is the debunking and prebunking phase. Players take a deep dive into information: reading books, comparing media sources, and using online tools inside the Library.

Tools available:

  • ๐Ÿ“– Click bookshelves to access historical context and data
  • ๐Ÿ’ป Use the laptop to simulate online research

Players are encouraged to consult multiple sources, compare conflicting narratives, and draw their own conclusions. Critical thinking is essential โ€” and rewarded.

โžก๏ธ This phase teaches media literacy and source triangulation, helping players learn to verify before acting.

All these steps are repeated multiple times until an ending in reached.

Step three


๐ŸŽฌ Endings โ€“ Your Votes Shape the World

After a predefined number of rounds, the game concludes with one of five possible endings based on the player's voting patterns and factional influence:

  • ๐ŸŸฆ A Traditionalist ending (Traditionalists had the most power)
  • ๐ŸŸจ A Liberal ending
  • ๐ŸŸฉ A Green ending
  • ๐ŸŸฅ A Progressive ending
  • โš–๏ธ A Harmony ending โ€“ where all factions held similar influence

This outcome depends on:

  • The faction you supported most through votes
  • The NPCs you interacted with and influenced
  • The laws you chose to support or reject

โžก๏ธ At this final point, the game highlights a key civic message: Every vote matters. Every interaction counts.

Players reflect on how their individual choices shaped the political landscape, emphasizing the importance of participation, presence, and informed decision-making in a democracy.


๐Ÿ—ณ๏ธ Step 4 โ€“ Voting Time - Going back to step 1

With everything they've seen and researched, players now face the final decision: vote yes or no on the proposed law.

They must consider:

  • Public mood
  • Faction alignment
  • What they uncovered in the Library
  • Long-term effects on their reputation and future laws

Every vote matters and will influence how factions treat you, how the public views your performance, and how future laws develop.

โžก๏ธ This step emphasizes the power and responsibility of voting, and the need to make informed, self-driven choices โ€” not emotional or misled ones.


๐Ÿง  Mechanics & Game Framework

To manage the complex interplay of factions, laws, NPCs, and outcomes, we've developed robust Unity-based tools. These make our game not just a one-time experience, but a reusable educational framework:

๐Ÿ”ง 1. NPC Creator Component

Create new NPCs and define:

  • Political orientation
  • Visuals, names, traits
  • Behavior profiles (how theyโ€™ll react to laws)

This allows easy plug-and-play use later without coding.

๐Ÿ’ฌ 2. NPC Interaction Creator

Used for defining:

  • Dialogue trees between player and NPC
  • Reactions and consequences for yes/no choices
  • Political leanings and intensity of influence

All interactions used in Step 2 (Office) are built here.

๐Ÿ›๏ธ 3. Law Manager

Used to:

  • Add new law proposals
  • Define their title, description, icon
  • Attach effects and NPC reactions
  • Link to existing NPC interactions

These tools combine to make Parliament Hero a full game framework, not just a single-use product. With no programming required and only a short tutorial, educators or developers can:

  • Replace content with new topics (e.g., climate policy, human rights)
  • Build custom games for other democratic systems
  • Scale and reuse the platform for other audiences

โžก๏ธ Our goal is to support repeatable, adaptable educational experiences accessible to all ages.


๐Ÿ“– Code & Tooling Documentation

We provide detailed documentation for our codebase and Unity tools in the Scripts/README.md file.
Every feature and system described aboveโ€”including the NPC Creator, NPC Interaction Creator, Law Manager, and supporting managersโ€”are explained in detail there.
If you want to understand or extend the game's core functionalities, please refer to that documentation.


๐Ÿ“š Educational Impact

Parliament Hero delivers powerful learning outcomes by blending real EU content with fun, interactive storytelling:

  • ๐Ÿง  Understanding of democratic institutions and law-making
  • ๐Ÿ”Ž Skills in research, evidence comparison, and narrative analysis
  • ๐Ÿ—ณ๏ธ Empowerment through knowledge of how and why to vote
  • ๐Ÿง Awareness of personal biases and the manipulation of information

All while staying approachable for young learners and meaningful for adults.


๐Ÿง‘โ€๐Ÿซ Techniques & Educational Design

To make democratic education more accessible and impactful, Parliament Hero uses a variety of innovative techniques:

  • ๐ŸŽฎ Gamification
    Complex concepts such as legislation, civic engagement, and EU institutions are translated into interactive game mechanics suitable for all age groups.

  • ๐Ÿ“– Progressive Storytelling
    The game narrative evolves based on the playerโ€™s decisions, making each playthrough unique.

  • ๐Ÿ•ต๏ธ Debunking & Prebunking Mechanics
    Players are exposed to misinformation through law proposals and NPCs. In the Library, they can uncover the truth, fostering critical thinking and media literacy.

  • ๐Ÿค Faction Dynamics
    Players interact with and influence different factions, reflecting the pluralism of real democratic institutions.

  • ๐Ÿ‡ช๐Ÿ‡บ Integrated EU Content
    All missions and storylines are based on real EU information, ensuring authenticity and relevance.


โš ๏ธ Challenges We Faced

Designing Parliament Hero came with important challenges:

๐Ÿงฉ Gamifying Real Processes

  • Turning complex, dry procedures into accessible and entertaining mechanics
  • Balancing fun with educational value

๐Ÿ”„ Managing Complexity

  • Simulating political diversity with dynamic NPC behavior
  • Maintaining consistent logic across numerous interactions

๐Ÿง  Pedagogical Alignment

  • Ensuring each decision teaches a real-world skill
  • Designing systems that promote learning by doing, not lecturing

๐Ÿงช Disinformation Design

  • Creating misleading but realistic fake news examples
  • Encouraging skepticism without promoting cynicism or conspiracy thinking

๐Ÿงฐ Framework Modularity

  • Making tools robust enough for reusability, yet simple for non-programmers
  • Balancing flexibility and structure in the Unity Editor

๐Ÿ”ฎ Future Plans

We're excited about the future of Parliament Hero and committed to making it even more accessible, engaging, and educational. Here's what's on our roadmap:

๐Ÿ“ฑ Mobile Support We plan to port the game to Android and iOS platforms, bringing civic education to more users in a portable, touch-friendly format.

๐ŸŽฎ Controller Accessibility We aim to add support for game controllers to ensure players with physical disabilities can interact with the game more comfortably and inclusively.

๐ŸŽจ Enhanced Visual Accessibility Weโ€™ve already taken steps to ensure good color contrast for players with visual impairments. In future updates, we plan to introduce specially designed accessible color palettes to improve clarity and readability.

๐Ÿ“ˆ Expanded Content Our vision includes the addition of more law proposals, factions, NPCs, and decision paths to increase replayability and educational value.

๐Ÿง  Deeper Interactions and Scenarios We aim to enrich gameplay with more nuanced dilemmas, branching narratives, and unexpected consequences to better mirror real-world complexities in civic life and policymaking.

๐ŸŽต Assets

๐Ÿ”Š Audio

Third-party sounds are from freessound.org as follows:

  • ๐Ÿฑ ANMLCat_Cat Meow Request 01_KVV AUDIO_FREE, by KVV_Audio (CC BY 4.0)
  • ๐Ÿ“„ Paper rip 1, by omgitsjo (CC0)
  • ๐Ÿฆ‡ bat swoosh, by MrGungus (CC0)
  • ๐Ÿ•น๏ธ Menu_Select, by SomeUsername0 (CC0)
  • ๐ŸŽถ Voice Male humming sounds, by bolkmar (CC0)

๐ŸงŠ 3D Models

The 3D models were generated by using AI via meshy with a premium subscription.


Go back to Quick Links to view other resources or play our game!


๐Ÿ—ณ๏ธ Your vote is your voice. Your knowledge is your shield.
Learn. Think. Decide. Be a Parliament Hero.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors