Skip to content
Punit Tomar

Games

Small games, built from scratch.

Game development is one of my newest branches. I build browser games with plain JavaScript and the HTML5 Canvas API — no engine — to learn the craft from the ground up.

Endless Runner title screen: the game's name over a night-time scene of mountains and pine trees, with 'Press Space to Start' and a High Score counter.

Asset credits

Player running animation adapted from “The Awesome Possum (Ultimate Smash Friends)” by Redshrike (Stephen Challener), commissioned by OpenGameArt.org, licensed under CC BY 3.0. The original work has been modified.

Obstacle sprite “Cactus” by megupets (CC0). Coin sound from Pixabay (Pixabay Content License).

Status: Livev1.1.0 · Endless runner

Endless Runner

My first game release — a lightweight endless runner built with the HTML5 Canvas API and plain JavaScript, with no game engine. It runs in any modern browser, adapts its controls to keyboard or touch, and saves your best score and coin total on your device. Version 1.1.0 added an animated player, collectible coins with sound and improved mobile pause controls.

Play the game: Endless Runner (opens in a new tab)Free · plays at game.punittomar.com
Platforms
Desktop browsersMobile browsers
Controls
Keyboard: Space to jump · P to pauseTouch: Tap to jump · on-screen pause button
Built with
JavaScript, HTML5 Canvas, CSS

Features

  • Obstacle speed climbs gradually as your score rises
  • Layered parallax background
  • Collectible coins with a per-run counter and a saved lifetime total
  • High score saved on your device between visits
  • Device-aware controls and interface for keyboard or touch
  • Pause and resume on desktop and mobile

Release notes

  1. v1.1.0

    • Animated running player
    • Collectible coins with sound, run counter and persistent total
    • Improved mobile pause controls and device-specific UI
    • More robust saving of scores and game state
  2. v1.0.0

    • First public release: core running, jumping and obstacle gameplay with high-score tracking

What's next

More games are planned.

I'm continuing to learn game development — mechanics, art pipelines and mobile controls. New releases will appear on this page as they're ready to play.

Next release

Nothing announced yet. Updates to Endless Runner and new titles will be listed here first.

Interested in an interactive project?

From browser games to interactive web experiences, I'm happy to talk about collaborations and ideas.