Code & Games
Small programs and games I build to learn — and because they're fun to share. Play them right here in the browser; the source is on GitHub.
Astro Shooter
A top-down 2D space shooter game. Control your spaceship, dodge incoming asteroids, and blast them with lasers to score points!
Interactive Player Loading
This browser game is currently being ported to our static framework. Check the project details or visit the GitHub repository to view the offline builds.
View Source on GitHubClassic Snake
The classic grid-based arcade game built with HTML5 Canvas and JavaScript. Features score tracking, WASD/arrow controls, and increasing speed.
Tower Defense
A strategic game where you place defensive turrets to defend your base against waves of incoming robot enemies.
Interactive Player Loading
This browser game is currently being ported to our static framework. Check the project details or visit the GitHub repository to view the offline builds.
View Source on GitHubUnit Converter (Python)
A lightweight python script running in-browser via PyScript. Converts between metric and imperial units (temperature, distance, and weight).
def convert_temp(val, to_unit):
if to_unit.lower() == 'c':
return (val - 32) * 5/9
return (val * 9/5) + 32
def convert_dist(val, to_unit):
if to_unit.lower() == 'm': # meters to feet
return val * 3.28084
return val / 3.28084 # feet to meters
print("--- PYTHON CONVERTER ---")
print("Converting 100 Fahrenheit to Celsius:")
print(f"100 F = {convert_temp(100, 'c'):.2f} C")
print("\nConverting 10 Meters to Feet:")
print(f"10 m = {convert_dist(10, 'm'):.2f} ft")
print("\nConverting 32 Feet to Meters:")
print(f"32 ft = {convert_dist(32, 'f'):.2f} m") Ready. Click "RUN PROGRAM" above.