LewisGaul / minegauler

A clone of the original minesweeper game with many added features
GNU General Public License v3.0
12 stars 8 forks source link

Split cells - abstraction attempt #148

Closed LewisGaul closed 2 years ago

LewisGaul commented 2 years ago

NOTE: Paused in favour of working on #154 first, which is based on the work in this PR but removes the split cell complexity.

Fixes #41

This supercedes #147, taking an approach of abstracting different game implementations into their own packages, with custom implementations of Coord, Board, Minefield, Game, and Controller (using abstract base classes and mixins for code sharing, and the engine module to bring it all together).

LewisGaul commented 2 years ago

Incorrectly marked as merged, opened new PR: https://github.com/LewisGaul/minegauler/pull/155