Open jackmakesthings opened 8 years ago
First step is actually going to be to refactor; right now all the bitgrid logic is in one huge file and it should be reworked. Current plan is to have a base bitgrid type and then subtypes that extend from it for each play method (row, col, x, etc).
Currently it just scrambles the array arbitrarily; the goal is to update this so instead, it generates a puzzle by making a (configurable) number of random moves (which should be valid within that instance's particular play mode - or should be the reverse of valid moves. These might end up being the same thing.)