solve_24_game 1.0.3 solve_24_game: ^1.0.3 copied to clipboard
The 24 puzzle is an arithmetical puzzle in which the objective is to find a way to manipulate four integers so that the end result is 24. For example, for the numbers 4, 7, 8, 8, a possible solution i [...]
import 'package:solve_24_game/solve_24_game.dart';
void main() {
final solutions = solve([1, 2, 3, 4], 24);
for (final solution in solutions) {
print(solution);
}
}