changed OnModelCreating method

modelBuilder.Entity<Guess>()
.HasRequired(g => g.Game)
.WithMany()
.HasForeignKey(g => g.GameId)
.WillCascadeOnDelete(true);