The sliding tile game has also had a long history on the computer. Being an easy game to program, the tile game is available for numerous platforms. The most famous computer sliding tile game translation is the version that came with all but the most recent editions of the MacOS. It was, in fact, named one of the greatest hacks of all time in Byte magazine's 20th anniversary issue. I've wasted many an hour sitting around playing that game; I'm not sure whether I should be relieved or angry that Apple replaced the tile game with some jigsaw puzzle game in the newest OS versions.
Mac Think Pascal source code (requires UW's cs130 library)