solve_24_game 1.0.3 copy "solve_24_game: ^1.0.3" to clipboard
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 [...]

example/main.dart

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);
  }
}
1
likes
130
points
43
downloads

Publisher

verified publisherabcd.ar

Weekly Downloads

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 is (7 - (8 ÷ 8)) x 4 = 24

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

trotter

More

Packages that depend on solve_24_game