public ActionResult CreateGame()
        {
            var game = new Game {InProgress = true, StartDate = DateTime.Now};

            Db.Games.Add(game);
            Db.SaveChanges();

            return RedirectToAction("Current");
        }
        private static Game GetGameWithAllNumbersPicked()
        {
            var game = new Game();

            for (int i = 1; i <= 75; i++)
            {
                game.GameBalls.Add(new GameBall {Game = game, Number = i});
            }

            return game;
        }
        public void WillRejectEmptyGame()
        {
            var user = GetUser();
            var game = new Game();

            var userChosenBalls = Enumerable.Range(1, 75).ToArray();

            Assert.IsFalse(game.ValidateBingo(userChosenBalls, user));
        }
        public void ValidatesMyBoard()
        {
            var user = new User {Board = "8,10,5,3,1,23,25,20,18,16,38,40,0,33,31,53,55,50,48,46,68,70,65,63,61", Kerb = "postit"};
            var game = new Game();
            game.GameBalls = new GameBall[]
                                 {
                                     new GameBall {Number = 10}, new GameBall {Number = 25}, new GameBall {Number = 40},
                                     new GameBall {Number = 55}, new GameBall {Number = 70}
                                 };

            var userChosenBalls = new int[] { 38, 10, 25, 40, 55, 70, 18 };

            Assert.IsTrue(game.ValidateBingo(userChosenBalls, user));
        }