public static InMemoryDatabase Create() { var data = new DummyData(); return(new InMemoryDatabase(data.Puzzles, data.Players)); }
/// <summary> /// Creates dummy game data. Feel free to adapt <see cref="DummyData" /> to suit your needs. /// This data is kept in memory; in other words, it will never be persisted to file. /// </summary> /// <returns>An IGameData object.</returns> public IGameData CreateDummyGameData() { return(new GameDataAdapter(DummyData.Create())); }