I have written a version of Sokoban for the Sony Ericsson t610 mobile phone. It is written in Java using J2ME.
The game running in the emulator provided by Sony Ericsson. Note that the real game has ‘Undo’ rather than ‘Exit’ as the left soft key action. The emulator isn’t quite like the real thing. The ‘Mor’e button brings up the menu where you can restart the level or jump to a different level (handy if you’re stuck!)
To get the game onto your phone, just send the .jar file over. In Windows, using infra-red, you would just drop it on the ‘Wireless Link’ icon on the desktop. Using bluetooth, just save the file locally, then right click on it in explorer and choose Send To -> Bluetooth thingy.
For Macs, I have no idea.
For Linux on the Zaurus, just beam it as any other file. For Linux on the desktop, I have no idea as my infra-red adapter isn’t supported yet. The infra-red adapter I bought doesn’t follow the IrDA spec. Yes, I know it was a foolish purchase but I had no idea there was such a thing as IrDA, or a non-conforming USB adapter, when I bought it.
Here’s the source code, for those who are interested. It’s not very pretty, because I wanted to ensure it was fast enough on the phone, so don’t be surprised if it’s not pure OO stuff.
Sony Ericsson t610.
The level sets used in the game are from two sources, the Microban set by David W. Skinner and the auto52 set by Yoshio Murase. David Skinner has given his permission for me to distribute his level data with this game. Yoshio Murase is unreachable at the address I have, but I’m sure that as he freely distributes his sets on the Internet and this one is computer generated, he will not mind me using it.