Refacto / Tests
This commit is contained in:
@@ -51,7 +51,7 @@ namespace MiniJeuxFinal.Games.PierrePapierCiseaux
|
||||
var actionComputer = (IActionPpc)_computer.Play();
|
||||
TurnStarted?.Invoke(this, (actionPLayer.Name, actionComputer.Name));
|
||||
|
||||
if (actionPLayer.ToWin(actionComputer) && actionComputer.ToWin(actionPLayer))
|
||||
if (actionPLayer.ToWin(actionComputer) == actionComputer.ToWin(actionPLayer))
|
||||
return null;
|
||||
|
||||
if (actionPLayer.ToWin(actionComputer))
|
||||
|
||||
Reference in New Issue
Block a user