{"id":49732970,"url":"https://github.com/vbetsch/seven-wonders","last_synced_at":"2026-05-09T07:02:15.060Z","repository":{"id":323491268,"uuid":"1092565035","full_name":"vbetsch/seven-wonders","owner":"vbetsch","description":"⚔️ Digital adaptation of the Duel edition board game","archived":false,"fork":false,"pushed_at":"2025-11-22T21:03:11.000Z","size":197,"stargazers_count":0,"open_issues_count":26,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2026-04-18T21:18:52.477Z","etag":null,"topics":["ci","clean-code","ddd","eslint","jest","prettier","tdd","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vbetsch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-11-08T21:30:29.000Z","updated_at":"2025-11-22T21:03:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vbetsch/seven-wonders","commit_stats":null,"previous_names":["vbetsch/seven-wonders"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vbetsch/seven-wonders","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbetsch%2Fseven-wonders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbetsch%2Fseven-wonders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbetsch%2Fseven-wonders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbetsch%2Fseven-wonders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbetsch","download_url":"https://codeload.github.com/vbetsch/seven-wonders/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbetsch%2Fseven-wonders/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32810381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ci","clean-code","ddd","eslint","jest","prettier","tdd","typescript"],"created_at":"2026-05-09T07:02:13.812Z","updated_at":"2026-05-09T07:02:15.053Z","avatar_url":"https://github.com/vbetsch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Seven Wonders Duel\n\n⚔️ Digital adaptation of the board game\n\n## 🎮 Overview\n\nThis project aims to recreate the **Seven Wonders Duel** board game as a fully playable digital experience.  \nThe long-term goal is to provide a complete game engine, a bot you can challenge, and eventually an online multiplayer\nmode.\n\nThis repository currently focuses on the **core logic of the game**.\n\n## 🧩 About the Board Game\n\n**Seven Wonders Duel** is a 2-player competitive strategy game where players develop their civilization across three\nAges.  \nEach Age uses a specific pyramid-like structure of cards, with some cards visible and others hidden until revealed.\n\nDuring their turn, players:\n\n1. Pick a visible card from the structure.\n2. Choose one of the following actions:\n\n- Construct the building by paying its resource cost\n- Discard the card to gain coins\n- Use the card to build one of their Wonders\n\nVictory can be achieved in **three different ways**:\n\n- **Scientific Victory** – collect 6 different scientific symbols\n- **Military Victory** – push the conflict pawn to the opponent’s capital\n- **Civil Victory** – have the highest victory points at the end of the third Age\n\nThe game combines drafting, resource management, chain reactions, wonders, military pressure, and scientific progress,\ncreating deep and varied strategic possibilities.\n\n## 🧠 Project Purpose\n\nThe goal of this repository is to implement the **entire game engine** of Seven Wonders Duel, including:\n\n- Game entities (cards, Wonders, resources, players…)\n- Age setup and card pyramid generation\n- Turn management and game state transitions\n- Military and scientific progression\n- Victory condition checks\n- Rules validation and enforcement\n- Deterministic, testable logic\n\n---\n\n## 🛠️ Tech Stack\n\n- **Node.js v22.17.1 LTS**\n- **TypeScript** (decorators enabled)\n- **Tsyringe** (dependency injection)\n- **Jest** (unit tests)\n- **ESLint + Prettier** (quality and formatting)\n- **ts-node** (development runtime)\n- **tsc-alias** (path alias resolution)\n\n## 🚀 Getting Started\n\n### 1. Install dependencies\n\n```bash\nnpm install\n```\n\n### 2. Start the project (development)\n\n### Run the CLI interface\n\n```bash\nnpm start\n```\n\n## 🧪 Running Tests\n\n### Run tests with coverage\n\n```bash\nnpm run test:cov\n```\n\n## 🧹 Linting \u0026 Formatting\n\n### Run linter and formatter checks\n\n```bash\nnpm run lint\n```\n\n## 🏗️ Building the Project\n\n```bash\nnpm run build\n```\n\n## 🧼 Code Philosophy\n\nThis project is built with:\n\n- Clean Code principles\n- High-level maintainability\n- Strong domain separation\n- Clear and modular architecture\n- Agile-inspired processes\n\n**We aim to deliver the cleanest and most robust implementation possible.**\n\n## 🤝 Contributing\n\nWe welcome anyone who wants to participate in improving the project!  \nBefore contributing, please read the dedicated guide:\n\n👉 **See [CONTRIBUTING.md](docs/CONTRIBUTING.md) for detailed contribution instructions.**\n\nFeel free to open issues, propose improvements, or submit pull requests.\n\n[© 2025 vbetsch — MIT License](LICENSE)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbetsch%2Fseven-wonders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbetsch%2Fseven-wonders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbetsch%2Fseven-wonders/lists"}