Board Game with Static-Analysis Lab
A console board game with computer opponent and save games, analysed and refactored with cppcheck and clang-tidy.
Software quality lab2024Complete
- Role
- Lab project at HTW Berlin.
- Stack
- C++, cppcheck, clang-tidy, PlantUML
What it does
A small C++ console game (board, win detection, computer opponent, save/load) used to compare cppcheck and clang-tidy, including a custom clang-tidy configuration that enforces a 20-lines-per-function limit.
- Parts
- Game
- cppcheck
- clang-tidy
The hard part
Configuring static analysis to enforce coding rules and documenting the findings of two tools.