Skip to content

mertozgenn/FlagsWarGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FlagsWarGame

A Flag War Game using TCP/IP Sockets

  • The game is played between two PCs on the local network.
  • Both players plant their 5 flags to desired location on the map.
  • Flag coordinates are sent to server by clients.
  • A flag represents a certain area of 20 pixels x 20 pixels.
  • Players try to find opponents flag on the map respectively.
  • If one of the player’s flags run out, the player loses the game.
  • The positions of the flags remain the same during game.
  • There are randomly placed bombs in the map.
  • If one of the players finds a bomb, other player wins the game.

How to Play

  • First, the server should be running and waiting for players. 1

  • IP address of the server computer is entered and connected to the server. 1(2)

  • When other player connects, both players plant their flags. 2 2(2)

  • Both players try to find opponent’s flags. 3 3(2)

  • If a player’s flags run out, the game finishes. 4 4(2)

  • If a bomb explodes, the game finishes. 5 5(2)

About

A Flag War Game using TCP/IP Sockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages