Write some Software code in java

Cancelled Posted Mar 3, 2016 Paid on delivery
Cancelled Paid on delivery

Write a distributed application that allows multiple users to play rock-paper-scissors. There should be one server program and one client program. For details of this game, please refer to the following link:

[url removed, login to view]

The server program controls one or more play sessions. Two users can play with each other using the client programs. The concept is similar to tic-tac-toe example, the first user connects to the server, and the server will wait for the second user to connect. Once there are two users connect to the server, the server will then create a play session for this two users. If there are another users connect to the server, the server will create a new session for these users.

The client program has two big images: one for the shape the player throws, and the other one is for the player two. There are 5 buttons:

Ready that tells the server you are ready to play. Once both players clicks this button, then the server should send a command to signify both players to click one of the following shape buttons. The player must do it within 5 seconds, if not, the player will lose the game.

Rock that tells the server you are throwing a rock.

Paper that tells the server you are throwing paper.

Scissors that tells the server you are throwing scissors.

The client window should have a label showing the current statues. For example, Player 1 won 2 times, Player 2 won 5 times. Your program should follow the example '"Distributed Tic-Tac- Toe" where the server can create one or more sessions, each session holds a game for two users. The server will have a list box that shows the list of current chat sessions.

Java JavaFX JavaScript PHP Software Architecture

Project ID: #9830505

About the project

Remote project Active Mar 3, 2016