func (game *gameMemo) willBestScore(p *plan.Plan, it int) int { willBestScore := p.Score() for i := it; i < game.numStone; i++ { willBestScore -= game.stoneBase[i].Count() } return willBestScore }
func comparePlan(f, s *plan.Plan) rune { if f.Score() < s.Score() { return '>' } else if f.Score() == s.Score() && f.NumberOfPiece() < s.NumberOfPiece() { return '>' } else if f.Score() == s.Score() && f.NumberOfPiece() == s.NumberOfPiece() { return '=' } return '<' }