Skip to content

gsingh93/24-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

24 Solver

The 24 Game is a game where a player must use the four given integers construct the number 24. The player can only use multiplication, division, addition, and subtraction. Each number must be used once, but you can use operations more than once. For example, given the integers, 3, 3, 8, and 8, one could construct the equation 8 / (3 - 8/3) = 24.

This solver solves the game for any goal number (not just 24), any number of initial integers, and any operations. It is written in Rust, and the algorithm and source are completely documented if would like to understand how it works.

About

Solves the game 24 (for any number, not just 24). Written in Rust and fully commented.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages