Author Topic: Battle Ship - Lan or local game  (Read 4891 times)

0 Members and 1 Guest are viewing this topic.

Offline Petr

  • Forum Resident
  • Posts: 1720
  • The best code is the DNA of the hops.
    • View Profile
Battle Ship - Lan or local game
« on: March 31, 2018, 06:26:58 am »
Hi all.

After a long time I finally finished the development of this game. It's a classic game you sometimes play on squared paper in two 10x10 squares. During the development of the network version of this game, I learned a lot. The game offers automatic player shipbuilding - or manual boarding by the player (then right mouse button rotate with boat), the game on one computer and the network game on the local network.

If you try localhost network game, please copy this program to two different directories and then start it. For localhost do not write IP, just press enter on client computer.

ODIN, AGAIN. Is not possible to codebox insert biggest source code. End mark for code and source code then miss. Repair it please!
 
Source code add here as next attachment.


Please, sorry, this source code was tested as localhost only and in this mode works, but not in real network as i found later. In current time i reapairing it.
* Playmidi32.dll (Filesize: 15 KB, Downloads: 337)
* BattleShip.pmf (Filesize: 775.45 KB, Downloads: 320)
screenshot.gif
* screenshot.gif (Filesize: 154.11 KB, Dimensions: 1680x1050, Views: 503)
* BattleShip.bas (Filesize: 94.32 KB, Downloads: 361)
« Last Edit: April 02, 2018, 04:56:44 am by Petr »