The 15-Puzzle game, in Ruby