Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
public class RoundHistory
{
// List to store the results of each round
private List<RoundResult> roundResults;
// Constructor to initialize the round history
public RoundHistory()
{
roundResults = new List<RoundResult>();
}
// Adds a round result to the round history
public void AddRoundResult(RoundResult result)
{
roundResults.Add(result);
}
// Retrieves all the round results
public List<RoundResult> GetRoundResults()
{
return roundResults;
}
}