Skip to content

Sea battle game, which was created as credit project in Lyceum BSU.

Notifications You must be signed in to change notification settings

Kononenko-Daniil/sea-battle-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sea Battle Game

This is repo of Sea Battle Game, which was created as credit project in Lyceum BSU.

Configuration

To run projects successfully you need to add some external files. At first you shoud place some images in game/Win32/Debug/img folder, which you can find in img folder:

back_buttons.bmp
background.bmp
constructor_btn.bmp
icon.ico
near.bmp
near_hit.bmp
sea.bmp
sea_hit.bmp
ship.bmp
ship_hit.bmp
ship_kill.bmp
war_btn.bmp
МОРСКОЙ БОЙ.bmp

Than you shoud create Microsoft Access Database file(.mdb) in server/Win32/Debug folder with such structure:

DB Name: ship_war.mdb
Table Name: GameRooms
Table Fields: [
  RoomId (AutoNumber),
  InviteCodeFirst (Number),
  InviteCodeSecond (Number),
  CodeIsUsedFirst (Yes/No),
  CodeIsUsedSecond (Yes/No),
  GuidFirst (Short Text),
  GuidSecond (Short Text),
  Move (Number)
]

Technologies

About

Sea battle game, which was created as credit project in Lyceum BSU.

Topics

Resources

Stars

Watchers

Forks

Languages