13 lines
359 B
C#
13 lines
359 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using RobotAndDonkey.Game.Cards;
|
|
|
|
namespace RobotAndDonkey.Game.Execution.Results;
|
|
|
|
public record HandResult(Guid RequestId, IReadOnlyList<Card> Hand) : Result(RequestId)
|
|
{
|
|
public override string ToString()
|
|
{
|
|
return $"Hand result: {string.Join(", ", Hand.Select(c => c.ToString()))}";
|
|
}
|
|
} |