body { margin: 0; background: #0b1020; color: #e9eefc; } .wrap { max-width: 980px; margin: 0 auto; padding: 20px; } .card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); } h1 { margin: 0 0 10px; font-size: 22px; } .row { display: grid; gap: 12px; } @media (min-width: 820px) { .row { grid-template-columns: 1.25fr 0.75fr; } } .nums { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 6px; } .tile { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); font-weight: 700; font-size: 18px; min-width: 54px; text-align: center; user-select: none; } .controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 0; } button { background: rgba(255,255,255,0.10); color: #e9eefc; border: 1px solid rgba(255,255,255,0.18); padding: 10px 12px; border-radius: 12px; cursor: pointer; font-weight: 650; } button:hover { background: rgba(255,255,255,0.16); } button:active { transform: translateY(1px); } .ghost { background: transparent; } .toggle { display: inline-flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); } .exprBox { display: grid; gap: 10px; margin-top: 12px; } input[type="text"]{ width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.18); background: rgba(0,0,0,0.25); color: #e9eefc; outline: none; font-size: 16px; } input[type="text"]::placeholder{ color: rgba(233,238,252,0.55); } .opPad { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; } .opBtn { min-width: 44px; padding: 10px 0; } .status { margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.22); line-height: 1.35; white-space: pre-wrap; } .side h2 { margin: 0 0 10px; font-size: 16px; opacity: 0.95; } .side p, .side li { color: rgba(233,238,252,0.85); } .side ul { margin: 8px 0 0 18px; padding: 0; } .small { font-size: 13px; opacity: 0.85; } .solution { margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(255,255,255,0.24); background: rgba(255,255,255,0.06); display: none; white-space: pre-wrap; } .muted { opacity: 0.8; }
24 Point Game
TopAIGames

24 Point Game

Use + − × ÷ and parentheses to make exactly 24 using all 4 numbers once.
Click “New Puzzle” to start.

Rules

  • You get 4 numbers (1–13).
  • Use each number exactly once.
  • Allowed operators: +, -, *, / and parentheses.
  • Your expression must equal 24.

Tips: Try pairing numbers, use parentheses to change order, and look for × and ÷ opportunities.

This game checks answers with exact fraction math, so “23.999999” won’t sneak through 🙂