Team course project
Shanghai University · Algorithms and Programming (autumn 2022)
A dice-driven board game in C++14 for 1-N players and AI: 15 buildings, 4 landmarks, five-colour card settlement, market purchases and win conditions.
MachiKoro is a light, dice-driven strategy board game. The rules are not complicated, but there are many card types and their effects trigger at different moments — a good exercise in object-oriented modelling.
This was a team course project for Algorithms and Programming at Shanghai University in autumn 2022. We built a single-machine Windows console version in C++14, supporting 1-N human players and AI in mixed games.
Stack: C++14, STL, OOP, UML, Visual Studio 2022, Git
Card base class with five colour subclasses and polymorphic settlement through the pure virtual action(); used Singleton, a simple factory and Iterator to reduce coupling.Card base class and five subclasses, with action() as a pure virtual functionorigin uses all 15 buildings; dlc randomly draws 10As a team member I worked on core development and debugging, mainly:
The project compiles and runs as a complete game, with mixed human/AI play. Besides the source code, the repository keeps the UML class diagram, course notes, demo videos and the legacy prototype, documenting how it evolved from coursework into a maintainable project.
Source and full documentation: https://github.com/yicongl1/Machikoro