a program to play Rush Hour. the board is supposed to look like this:
|GG...Y|
|P..B.Y|
|PRRB.Y>
|P..B..|
|O...TT|
|O.FFF.|
then You may assume the user enters either upper-case or lower-case input, with or without intervening spaces.
and The program ends when the red car touches the '>' character to the right of it.
the moves output must be kind of like this:
Your move -> gr1