This is the contribution to the Mapping Contest category "Maps for fun" by GEOGRAF A/S.
Presenting: MI_Tanks
See Attachment
This is a simple multiplayer game. The users can join the battle and shoot each other to gain points. A small video of the game in action is here:
https://www.youtube.com/watch?v=uWM1KGjNoyc
The general idea behind this code is to showcase the powerful API. That MapInfo can be used as a service. Using the API and network code you can send MapBasic commands to the running MapInfo and instruct it to do things. The player presses a key and the server is told that the player wants to move forward or shoot. The server translates the message into a set of MapBasic command and send these to all connected clients (like move a geometry, rotate or add a new bullet to the map).
The server has a nice console window that keeps track of the gameplay:
See Attachment
Source code is available here: https://github.com/JonathanJensen/MI_Tanks
There a still a few bugs in the game and some things that we couldn't get to work. We hope to correct this in the future, and optimize the code for faster gameplay (knowing that MapInfo were never ever designed for this).