Module type Animation.PUZZLE

module type PUZZLE = sig .. end

include Solver.PUZZLE
type animstate 
The state of an animation window
val init : state -> animstate
initialize a new window for drawing on
val render : animstate -> state -> (float * move) option -> unit
render astate state (Some(percent, move)) draws the given state of the puzzle on the window defined by astate, with move partially applied. percent is a number between 0. and 1. that determines how much move is applied.

render astate state None simply renders state without any move applied. It is the same as render astate state (Some(0.,m)).