Qui té dret a gaudir de la plaça? Creant La Plaça a la HackEPS
English This is a submission for the MLH x DEV Writing Challenge What I Built It’s summer in Lleida, and the bars on a residential street want to keep their outdoor tables open later. Carme runs the corner bar and depends on those tables. Núria lives above the square and works shifts at the hospital. Some weeks she needs to get up at 6:30. Other weeks she walks home through the square after 11…
A game called La Plaça was developed as part of the HackEPS 2026 event for La Paeria, Lleida's city council. Set in an illustrated version of Plaça de Sant Joan, the game puts players in the role of decision-makers for five fictional neighbors living in the same area. Each turn presents a scenario concerning shared space, and players must choose one of three predefined actions or propose their own solution.
Players can also create a sixth resident by specifying their needs and priorities, which are then included in the game and reflected in the final results.
The game engine allows for consequences to reverberate several turns later, making seemingly insignificant decisions potentially impactful. If a player extends the terrace hours for an entire night and finds the neighborhood's rest indicator still low, they'll face a new challenge with loud music at 11 p.m. Additionally, earlier decisions can alter the impact of later ones. For instance, clearing the pavement may reduce the effect of extending terrace hours on accessibility.
At the end of the game, a mediator walks players through who benefited and who had to make concessions, and they can view the decision tree to explore the outcomes of different choices. The game uses the Google Gemini API integrated into a TypeScript and Express backend to create distinct reactions for each fictional neighbor. Players can also submit free-text proposals, which are transformed into structured options using the three written choices as a reference.
The backend checks the consequences of these proposals against pre-established rules and handles any fallback reactions if needed.
The project was developed by four members who each focused on a specific aspect of the game: backend development and Android release, simulation and AI integration, interface and visual design, and scenario design and game mechanics. After testing, the team revolved the scoring system to ensure it reflected each resident's priorities and the alternatives presented to the player.
The final product consists of a web version, a backend deployed on Render, and an installable Android APK. One of the key takeaways from this project is that it challenges players to consider the diverse needs and priorities of their neighbors when making decisions about shared spaces, such as a city square.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to