Cerrado

Write a simple MPI C++ Code

Este projecto fue adjudicado a kaloyan13 por $25 USD.

Obtén cotizaciones gratis para un proyecto como este
Empleador trabajando
Presupuesto de Proyecto
$10 - $30 USD
Ofertas Totales
7
Descripción del Proyecto

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.

Adjudicado a:
Habilidades Requeridas

Buscando hacer algo de dinero?

  • Establece tu presupuesto y período de tiempo
  • Describe tu propuesta
  • Consigue pago por tu trabajo

Contrata Freelancers que también oferten en este proyecto

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online