- invert create a new labyrinth walls are path of previous. - grow then new labrynth is bigger, else shrink.
12 lines
215 B
Java
12 lines
215 B
Java
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);
|
|
|
|
}
|