This class implements the interface IGameTable<TCard>.
public abstract class GameTable<TCard> : IGameTable<TCard> 
        where TCard : Card
    {}

This interface holds the common logic for all games played on a table, for one or more players.
Tables have Seats a Deck and run some Turns.
 public interface IGameTable<TCard> 
        where TCard : Card
    {
        Deck<TCard> CreateDeck();
        TableSeat AddPlayer(Player player);
        List<TableSeat> Seats { get; }
        TableTurn Turn { get; set; }  
    }

Last edited Dec 13, 2010 at 11:56 PM by sebdg, version 1

Comments

No comments yet.