{"id":48320585,"url":"https://github.com/nathanfouere/president-challenge","last_synced_at":"2026-04-26T15:00:48.357Z","repository":{"id":270397962,"uuid":"878978205","full_name":"NathanFouere/president-challenge","owner":"NathanFouere","description":"Game project which aims to create configurable and dynamic historical simulations of political and economic events during the 20th century.","archived":false,"fork":false,"pushed_at":"2026-04-17T22:55:56.000Z","size":105373,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-17T23:37:50.943Z","etag":null,"topics":["adonis","domain-driven-design","nuxt"],"latest_commit_sha":null,"homepage":"https://president-challenge.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NathanFouere.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-26T16:20:37.000Z","updated_at":"2026-04-17T22:54:21.000Z","dependencies_parsed_at":"2025-07-12T14:42:49.114Z","dependency_job_id":"30c9af09-e96a-452f-ad64-ebe036ea1940","html_url":"https://github.com/NathanFouere/president-challenge","commit_stats":null,"previous_names":["nathanfouere/allende-challenge-v2","nathanfouere/allende-challenge","nathanfouere/president-challenge"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/NathanFouere/president-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanFouere%2Fpresident-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanFouere%2Fpresident-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanFouere%2Fpresident-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanFouere%2Fpresident-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NathanFouere","download_url":"https://codeload.github.com/NathanFouere/president-challenge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanFouere%2Fpresident-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32301330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adonis","domain-driven-design","nuxt"],"created_at":"2026-04-05T00:39:36.818Z","updated_at":"2026-04-26T15:00:48.352Z","avatar_url":"https://github.com/NathanFouere.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# President Challenge\n\nGame project which aims to create configurable and dynamic historical simulations of political and economic events during the 20th century.\n\n## Description\n\n**President Challenge** is a simulation game that puts players in the shoes of a political leader during the 20th century. Players navigate through a series of events, making decisions that shape the course of history. The game is designed to be highly configurable, allowing creator of games to create unique scenarios.\n\n## Architecture\n\nThe project is designed following **Domain-Driven Design (DDD)** principles.\n\n## Features\n\n- **Event System**: Players navigate through a system of dynamic events, with consequences that affect the state of the game.\n- **Class and Party Dynamics**: Social classes and political parties react to the player's decisions\n- **Economic Management**: Players balance resources, industries, and budgets to maintain stability.\n- **Multiple Endings**: Outcomes are shaped by player choices, reflecting different historical and hypothetical scenarios.\n\n## Technologies\n\n### Frameworks\n\n- **AdonisJS**: For the backend\n- **Nuxt**: For the frontend\n\n### Libraries\n\n- **AdminJS**: For the administration interface\n\n### Database\n\n- **PostgreSQL**\n\n### DevOps\n\n- **Docker**\n- **Docker Compose**\n- **GitHub Actions**\n- **Ansible**\n- **Traefik**\n\n## Learning Objectives\n\nI am unsure of finalizing this project, but I have set the following learning objectives:\n- **Adonis.js**: Learning AdonisJs to get into the NodeJs ecosystem\n- **Domain-Driven Design**: Learning how to structure applications with a focus on the domain logic.\n- **Docker**: Learning how to create portable and reproducible development environments.\n- **Ansible**: Learning how to work with infrastructure as code tool\n- **Traefik**: Learning how to set-up a reverse proxy\n- **Deployment**: Learning how to set-up production-ready systems and pipelines.\n\n## Roadmap\n\nYou can track the progress and upcoming features of this project on the [Trello Board](https://trello.com/b/yeDvZUYI/allende-challenge-v2) (In French)\n\n## Possible improvements to the project\n\n- \"Side Effect Free Functions\" should be used to improve the code reliability and testability. Non-side-effect functions are mostly used in the game loop, where arguments of the functions are directly modified (mostly GameTurnProcessStreamData)\n- The project is not tested\n- Front code should be refactored partially\n- The existing global pipeline for turn processing could be leveraged further by introducing nested pipelines, or by using an event-based system\n- Event generation could be improved\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanfouere%2Fpresident-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanfouere%2Fpresident-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanfouere%2Fpresident-challenge/lists"}