jackmakesthings / game-dev

return False; an experiment in AI and decision-making, via Godot Engine
GNU General Public License v2.0
3 stars 2 forks source link

BitGrid puzzle: change randomization method #93

Open jackmakesthings opened 8 years ago

jackmakesthings commented 8 years ago

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.)

jackmakesthings commented 7 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).