protected override void ExecuteCore(Guid playerId) { var roundId = _roundService.GetOpenRoundId(); if (roundId == null) { ConsoleHelpers.WriteRedLine("No Round is currently open - open a new Round first."); return; } var round = _roundService.GetRound(roundId.Value); if (!round.EntrantPlayerIds.Contains(playerId)) { ConsoleHelpers.WriteRedLine("That player didn't enter this Round! Try again."); return; } var player = PlayerService.GetPlayer(playerId); _roundService.DeclareWinner(roundId.Value, playerId); ConsoleHelpers.WriteGreenLine($"{player.Name} won {round.EntrantPlayerIds.Count} credits to end Round {round.RoundNumber}"); }