-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

The three rules of Ruby Quiz:

1.  Please do not post any solutions or spoiler discussion for this
quiz until 48 hours have elapsed from the time this message was
sent.

2.  Support Ruby Quiz by submitting ideas and responses
as often as you can! Visit: <http://rubyquiz.strd6.com>

3.  Enjoy!

Suggestion:  A [QUIZ] in the subject of emails about the problem
helps everyone on Ruby Talk follow the discussion.  Please reply to
the original quiz message, if you can.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

## Sliding Puzzle (#196)

Bienvenidos fellow Rubyists,

This weeks quiz will be to create and implement a [sliding puzzle][1].
The puzzle must be playable from keyboard input. The program will
generate a puzzle in a random configuration and the puzzle generated
must be solvable. You may create either the 8-puzzle or the 15-puzzle.
You may include a mode that will automatically solve the puzzle or
present a hint.

The puzzle must throw a small party when solved.

Bonus: Have the puzzle be displayed as an ascii art image that needs
to be arranged instead of simple numbers.

[1]: http://en.wikipedia.org/wiki/Fifteen_puzzle


Have Fun!
-- 
-Daniel
http://rubyquiz.strd6.com