Inspiration

I was with a group of friends and one of them brought this puzzle up. I've played it before but some of the combinations that he showed us were just crazy (1 5 5 5). That gave me the inspiration to create this game. Wikipedia page

What it does

It's a game in which you have 4 operations (+ - * /) and you try to only use these operations and get to 24.

How we built it

Svelte and Cloudflare Pages.

Challenges we ran into

Learning svelte, because it was my first time using it. Also, time was kinda rough.

Accomplishments that we're proud of

The solver and the way the solutions are presented. It took a while to figure out where to add parentheses and where not to. The solver also was somewhat difficult to get set up (it's just a simple recursion so it would easily run in less than a second).

What we learned

We learned about Svelte and its benefits and some of its downsides. In our opinion, its very simple to use and anyone with sufficient javascript, HTML, and CSS experience can learn it decently and quickly.

What's next for 24 game

We will probably add a page for the solver and polish up some of the features (cough cough mobile support).

Built With

Share this project:

Updates