This repository has been archived on 2025-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
Files
TicTacToe/TicTacToe/Game.cs
2021-11-27 13:07:44 +01:00

17 lines
592 B
C#

using System.Collections.Generic;
using TicTacToe.Players;
namespace TicTacToe
{
//Class on which every game bases on (Only TicTacToe atm)
public abstract class Game
{
protected readonly List<Player> Players = new List<Player>();
protected readonly Dictionary<Player, int> Scores = new Dictionary<Player, int>();
public abstract void StartGame();
public abstract void DrawScore();
public abstract void CheckGameState();
public abstract void AddScore(Player player);
public abstract void AddPlayer(Player player);
}
}