askhad-apishev / corewar

0 stars 0 forks source link

vm_task_19 #21

Closed srgbl closed 4 years ago

srgbl commented 4 years ago

vm_task_19 introduce_winner with tests

"Contestant PLAYER_NBR, "PLAYER_NAME", has won !"

PLAYER_NBR = game->alive PLAYER_NAME = game-> ->players[PLAYER_NBR - 1]->prog_name

Testing output format only because. We should check later correctness of the winner itself.