Presentation is loading. Please wait.

Presentation is loading. Please wait.

Multi player client sever Snake Game Technology : JAVA (swing for user interface and Socket for passing coordinates of snakes, food item and score)

Similar presentations


Presentation on theme: "Multi player client sever Snake Game Technology : JAVA (swing for user interface and Socket for passing coordinates of snakes, food item and score)"— Presentation transcript:

1 Multi player client sever Snake Game Technology : JAVA (swing for user interface and Socket for passing coordinates of snakes, food item and score)

2 Basic Idea In this game a client will connect to a server and specify total number of players who will be participating in this game. One by one every client will connect to a server. When all the clients join a server the game begins. Clients will update their snake location on a server using socket (directly call updateSnakeLocation method on server). Server will broadcast the location of a client's snake to the other clients. Server will take care of a food item and scores as well. If a client's snake hits the other snake then sever will decide a winner according to the scores and broadcast the winner's name. Clients can also chat with other clients. The idea is to create a complete client server multi player game using the concept of distributed systems.

3 concept of distributed systems Socket and threading Synchronization


Download ppt "Multi player client sever Snake Game Technology : JAVA (swing for user interface and Socket for passing coordinates of snakes, food item and score)"

Similar presentations


Ads by Google