Use the up, down, left and right arrows to lead the hamster back to its home
Maze games like this one are very easy to make. You should try making one.