进行中

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.

技能: C++编程, 并行处理

查看更多: code c, simple write, write strategy browser game, serial code parallel mpi, simple grid strategy, plan write strategy, simple mt4 strategy, simple write job, write strategy video game, write strategy game, asp simple write, simple write bmp, simple write xml file

About the Employer:
( 2 reviews ) Beirut, Lebanon

项目ID: #12149943

已悬赏给:

kaloyan13

Hello, I can do your project for an hour. I have done many MPI programs in university. Thanks.......

$25 USD 在1天内
(93条评论)
5.9

6名威客为此工作的平均竞标价是$28

$30 USD 在2天内
(792条评论)
7.0
athukoralakasun

Hi! I am a Computer Engineering masters student. I can do your project. I have lot of experience with MPI. I do MPI programming at my university as well. Kindly let me know if you are interested. Kind regards.

$35USD 在1天里
(10条评论)
4.1
Programmer59

Good Day Sir, I am available to start work right now. I am waiting your responce thank you soa much

$30USD 在1天里
(6条评论)
3.1
renegator

I think, i can perform this job ............................................................................................

$20USD 在1天里
(5条评论)
2.6
ChertitaCatalin

Computer Engineering with C/C++ programming

$30 USD 在4天内
(0条评论)
0.0
FCEngineers

Hello, Before you select a part time developer from here, visit us for 5 minutes (Fugacode.com) And if you like what you see, contact us. That's all! "Why hire part time college students? when you can hire profe 更多

$25USD 在1天里
(0条评论)
0.0