Robot - The Game
The idea came from an old DOS-game from TOM-productions. You control your body through a world consisting of 5*5 rooms consisting of 20*20 fields. Every field contains of a special game-object, this can be a wall, a bad robot who want to kill you (because of the robots, the game is named Robot), a dor (for each dor, you need a special key) and so on.
The code was written to demonstrate the possibilities with a very small set of programming technics. The code doesn't use OOP, it is completly procedural (but embedded into one little form). I started this project while I was showing Lazarus to a friend to show him how easy it is to program a little application. It is not very difficult to teach a little bit of procedural and imperative programming so that you can do a little bit stuff. Then I said, "I show you what you can do with this"...
The code is well documented in english.
The movement is controlled by the arrow-keys. You can catch things laying around by simple go to them. They will be put into your knapsack. Select the thing in your knapsack you want to use with spacebar. You can use them by pressing enter. There are corrosive liquids filled in bottles laying around. You can remove walls with it (only the bright walls). Every dor needs a key to enter it. The are 3 diamonds laying somewhere around. You need them to defeat the bad king. You have to put them near of the diamond-places (go there and select it in your knapsack). You can save the game with the clocks laying around. ...
Control of Editor
Go into the editor mode (menu). All game-objects are listed in your knapsack. Simply select an object and place it in the present room by left-clicking at the wanted position. You can also select the objects in the knapsack by clicking on them. With a right-click, you can remove an object. With Ctrl+Arrowkey, you can switch to other rooms. Don't forget to come back to the room where your body is, because else, you can't resume playing on exiting the editor mode.
The game itself is in german, that means, that all messages inside of the game (a little description and a few state messages) are german. Perhaps you can translate it? :)
It should not disturb so much (I give you a description...) and the interessing part is also the source code.
There are versions from 1.5 to 1.7 available at the moment. The code is extended and buxfixed a little bit in newer version, but there is no real big difference. Version 1.7 contains an ingame-editor now and there is a new world since version 1.7 (feel free to design own worlds or perhaps a whole new game based on this engine; it should not be difficult).
The german homepage of the project is http://www.az2000.de/projects/robot2/. The download-section is on the bottom of the main text of the page. It would be great if somebody could mirror the files, it is a slow server. :)
It is under the LGPL.