This code sample is named SpaceWar2D.
Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:
C:\Program Files\Windows Mobile 6.5.3 DTK\Samples\Common\CS\Bluetooth\SpaceWar2D
Microsoft Visual Studio launches and loads the solution.
Build the solution (Ctrl+Shift+B).
Deploy the solution (F5).
Install the generated CAB file onto your two mobile devices.
Once you have the application up and running on one of the mobile devices, press the Connect SoftKey, and choose your opponent's mobile device from the list.
SpaceWar2D demonstrates how to write a game that uses Bluetooth technology for communications.
It is assumed that you have two Windows Mobile devices that have established a Bluetooth partnership.
To be able to pick your opponent’s mobile device, you must have already established a Bluetooth partnership with it.
You can visit the Microsoft Download Center and download copies of Windows Mobile Professional SDK and the Windows Mobile Standard SDK .