mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
24 lines
521 B
C#
24 lines
521 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Bowling
|
|
{
|
|
public class GameResults
|
|
{
|
|
public static readonly int FramesPerGame = 10;
|
|
public FrameResult[] Results { get; set; }
|
|
|
|
public GameResults()
|
|
{
|
|
Results = new FrameResult[FramesPerGame];
|
|
for (int i = 0; i < FramesPerGame; ++i)
|
|
{
|
|
Results[i] = new FrameResult();
|
|
}
|
|
}
|
|
}
|
|
}
|