In Progress

Ludo multiplayer c socket program URGENT

URGENT! Another freelancer failed to complete the task I need it in 8 hours from now - you read it right, only apply if you can 100% sure to complete it

Quick summary: Console application (no gui!) written in C programming language one server, one client application.

So files: server.c and client.c are expected in separate source and output files.

Classic ludo game with 2 human players on the same computer, each player runs a client of the game and there is a server (running on localhost) that handles the communication and gameplay rules.

Game rules: The players have 2-2 distinguishable dolls. The players roll the dice in turns. If the player steps on a field that's already taken by a doll, then the doll already there returns to field #1 (knock out - doesn't matter whose doll it is) and the former doll takes it's place. After field #49 knocking out the dolls is not possible. The goal of the game is to pass through field #49 with both of the dolls - the player who accomplishes this first is the winner.

How the program should work:

- Server application starts and waits for the TWO clients to join.

- When the 1st client starts the application they should receive a mesage that we're waiting for the 2nd player.

- When the 2nd client joins, the game automatically starts.

- The dice is represented by the server, it generates random numbers from 1-6 and it sends the values for the appropriate client

- After the client receives their number, the client sends to the server which doll with they want to move (that's why the dolls need to be distinguishable).

- The server's job is to update the game board, detect and handle specific scenarios (moving with a doll, knocking out a doll, winning, losing). The game board is stored on the server.

What is expected regarding the gameplay mechanics.

The program should acknowledge knock out scenarios, winners and losers. Clients can give up and stop the current match by sending a message (I give up) and inform the other client about this - this way the game ends, but the applications doesn't close just yet.

If the game ends either because someone wins, or someone gave up the server should allow the players to:

- play another match (by sending a message: restart)

- or stop the game (by sending a message: stop)

If "restart" is chosen a new match starts again.

If "stop" is chosen all 3 applications (server, client, client) closes.


Source code expected to be well documented, so another persons can understand it quickly.

Skills: C Programming, C# Programming, C++ Programming, Java, Software Architecture

See more: make tcp socket program duplex, fifo socket program, chat socket program java ajax code, asynchronous client socket program, acknowledgment socket program, simple tcp socket program using linux, socket program report, clientserver socket program, tcp socket program, client server socket program windows, socket program save file java, async simple socket program, banking client server socket program creating accounttransaction, convert unix socket program windows, client server socket program vbnet send image

About the Employer:
( 0 reviews ) Szeged, Hungary

Project ID: #15843096

5 freelancers are bidding on average €60 for this job


Hello sir I read your proposal carefully I have rich experience in C/C++ and Console app, Socket programming I am sure i can satisfy you in your time Best regards Stay tuned, I'm still working on this proposal.

€100 EUR in 10 days
(46 Reviews)

Although I'm new freelancer but I have 7+ experience c++ development. I've made Online Judge on windows using socket. I think I can do it. Relevant Skills and Experience experience with c++,socket Proposed Mil More

€50 EUR in 0 days
(45 Reviews)
€50 EUR in 10 days
(27 Reviews)

Hi, I have 3+ years of experience in Digital Marketing,Wordpress, WebDesigning, jQuery, JavaScript. I am hard worker and quick learner. Give me a chance to Prove myself. Relevant Skills and Experience My expertise ar More

€50 EUR in 10 days
(0 Reviews)

HIRE ME Relevant Skills and Experience GRAPHIC DESIGNER Proposed Milestones €50 EUR - WORK DONE

€50 EUR in 10 days
(0 Reviews)