Closed

write a simple mpi c++ code

Write an MPI program in which two threads play the game rock, paper, scissors, and the master thread plays the role of a referee.

A match of 5 rounds are to be played. The master thread starts each round by broadcasting a message signaling the two threads to make a choice for the round. Each thread will make its choice according to some strategy (e.g., random). It will then broadcast its choice to the all other threads. The master thread will determine from the broadcasted choices if there is a winner. If there is, the master will print out the choices made, the winner thread and the current score, and then starts another round. If there is a tie, the master thread will repeat the round until a winner is identified.

The last printed statement should also declare the winner of the 5 rounds match.

Skills: C++ Programming, Programming

See more: code C, code c#, rock paper scissors code, functions rock paper scissors code, simple write, java code zoom zoom simple, simple write library management program, source code java games simple, code source application simple android, android rock paper scissors game code, serial code parallel mpi, rock paper scissors android game code, android code rock paper scissors game, android rock paper scissors code, avr code keyboard ps2 simple, rock paper scissors android code, rock paper scissors mpi, rock paper scissors tournament mpi, rock paper scissors game code android, simple write job, write current time, source code air flex simple calculator, simple adjustable current regulator, asp simple write, modify java code connectionacceptor uses print write

About the Employer:
( 0 reviews ) Lebanon

Project ID: #12219604

10 freelancers are bidding on average $77 for this job

$222 USD in 3 days
(45 Reviews)
6.9
hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environ More

$150 USD in 3 days
(60 Reviews)
6.3
$97 USD in 1 day
(40 Reviews)
5.2
$55 USD in 1 day
(35 Reviews)
4.8
$150 USD in 1 day
(11 Reviews)
4.2
Santosh1161

Worked on Mpi

$55 USD in 3 days
(2 Reviews)
1.9
Gibberfish

Hey! I'm a graduate student, studying computer engineering. I deal with multithreaded development daily, and I can easily solve this problem for you, in less than a day. Edit: I have written the program, tested it, an More

$25 USD in 1 day
(0 Reviews)
0.0
vacheka

approx. 80% of my projects are about concurrency programming and I can confidently say that i'm good at it. It's my first Freelancer project and I can finish the project it for you until you bid.

$13 USD in 1 day
(0 Reviews)
0.0
pavlukivan

A proposal has not yet been provided

$25 USD in 1 day
(0 Reviews)
0.0
$15 USD in 2 days
(0 Reviews)
0.0
asadiqbalse

Dear Sir/Madam, We already worked on this and ready to start the development after checking out the project details. We are specialized in web development, web design, mobile app development, Graphics Design, E-comm More

$55 USD in 1 day
(0 Reviews)
0.0