Add reverse that allow to switch interior/exterior of a labyrinth

- invert create a new labyrinth walls are path of previous.
  - grow then new labrynth is bigger, else shrink.
This commit is contained in:
philippe lhardy
2020-12-09 23:02:29 +01:00
parent 6c9800047c
commit 81441d7f17
6 changed files with 116 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
package org.artisanlogiciel.games.maze;
/**
* Get model represented by possible moves
*/
public interface MovesProvider {
/** return possible moves from this position */
short getMoves(int x, int y);
}