Find Jobs
Hire Freelancers

Write some Software

$10-30 USD

Cancelled
Posted about 8 years ago

$10-30 USD

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: [login to view URL] 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.
Project ID: 9830390

About the project

1 proposal
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $77 USD for this job
User Avatar
can do this. which language?
$77 USD in 2 days
4.9 (60 reviews)
6.0
6.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Mar 3, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.