If you don't know the game, this is a very simple game to play with 4 cards. The goal is to use each card exactly once and use the basic arithmetic functions (+, -, ×, /) to get to 24. For example, for the numbers 4, 7, 8, 8, a possible solution is (7 - (8/8)) × 4 = 24.
My olympiad math professor taught me this game when I was 10. We used to play this game a lot during our olympiad trips. The setup is extremely easy, you just need a deck of cards and that's it. We usually played with around 4 people, and the last one to find the solution was the one that lost. But I also play this a lot by myself when I'm bored.
In fact, I keep a list of difficult sets of cards if you want to give them a try:
• 3, 8, 8, 10
• 8, 9, 10, 12
• 2, 7, 7, 10
• 2, 3, 5, 12
• 1, 8, 8, 12
Also, here is a v0 I created with a solver and a play mode: https://game-24.vercel.app/