Logic and arcade games
Find the secret number or test your reflexes in a snake game, right in your browser.
Open project ↗Games to play- Role
- Software development
- Period
- Sep 2025
- What I did
Me: Implementation of the guessing logic in the browser.
It was a logic exercise with immediate, visible feedback. The public code records the use of conditions, loops and an attempt counter.
Decisions
Respond to every guess
- Context
- A guess is useful when the player knows what to try next.
- Choice
- Compare the input with the secret number and count attempts.
- Gains
- The loop between action and feedback is visible.
- Costs
- Starting a new game requires resetting the counters.
Stack and why
- JavaScript
- Responding to guesses.
- HTML
- Page structure.
Results
not verified
Security angle
Attack surface
- Numeric input from the player.
Controls in place
- Local comparison of guesses.
What I would test today
- Empty inputs and starting a fresh round.
Evidence
- public linkPlay the original game
- public linkProject repository