Python Programming

Number Guessing Game

A browser-playable number guessing game built with Python and Pygame, packaged for the web with Pygbag.

Number Guessing Game main preview

Overview

Project story

A lightweight interactive game where players guess a number between 1 and 100 within seven attempts. The project turns a simple Python game loop into a browser-ready experience using Pygbag and GitHub Pages.

The project focused on making a small Python game accessible without installing Python locally. The interface needed to be simple, quick to understand, and stable in a browser environment.

Challenge

What needed to be solved

Bring a desktop-style Python game to the browser while keeping play feedback clear and responsive.

Solution

How the experience came together

Structured the game loop, packaged the build with Pygbag, and published the result through GitHub Pages for instant access.

Outcome

Final result

A simple, shareable game experience that demonstrates Python fundamentals, browser packaging, and playful UI feedback.

Preview

Visual snapshots

Number Guessing Game screenshot