← Back to JX-Codele

How to Play

JX-Codele gives you one code puzzle per day. Here is how a round works.

  1. Pick a language. Choose from Python, JavaScript, TypeScript, Java, C++, Go, Rust, or SQL. Each language has its own puzzle for the day.
  2. Read the snippet. You start with a short two- or three-line fragment of code — the most distinctive part of the concept. A one-line topic phrase is shown from the start to point you in the right direction.
  3. Make a guess. Type the name of the programming concept the code demonstrates: a function, a pattern, a keyword, or an algorithm.
  4. Wrong guess? See more. Every incorrect guess reveals more of the code — surrounding structure, the function signature, a usage example. The picture gets clearer with each attempt.
  5. Use the hint. If you are still stuck after your fifth guess, a written hint appears.
  6. Finish the round. You have six guesses. When you solve it — or run out — the complete, unmasked code is shown so you can see the full answer.

Answer matching is forgiving: capitalization, spaces, and punctuation are ignored, and common alternative names for a concept are accepted. So "QuickSort", "quick sort", and "quick-sort" all count as the same answer.

Come back tomorrow for a fresh set of puzzles. New to the project? Read more on the About page.