Skip to content
← Projects

Flappy Bird (Pure Java)

A complete browser-based Flappy Bird recreation in pure Java — custom game engine, physics, collision detection, all built from scratch.

Built by

GitHub
JavaJava SwingAWTOOP

Overview

A complete recreation of Flappy Bird built in pure Java — no game engine, no external libraries. Every part of it (rendering loop, physics, collision, scoring) is written from scratch using Java Swing and AWT, as an exercise in core game-programming fundamentals and object-oriented design.

What I Built

  • Custom game loop — a fixed-timestep render/update cycle driving the animation
  • Physics — gravity, flap impulse, and velocity integration for the bird's motion
  • Collision detection — pixel/bounds checks between the bird and the pipes
  • Procedural pipes — randomized gaps that scroll and recycle
  • Scoring & game states — start, playing, and game-over screens with score tracking
  • Keyboard input handling for the flap control

Tech Stack

Language: Java

UI / Rendering: Java Swing, AWT

Design: Object-oriented architecture (separate entities for bird, pipes, game manager)

Why It Matters

Building a game without an engine forced me to understand the fundamentals most frameworks hide — the render loop, frame timing, physics integration, and collision math — all in clean OOP Java.

Related projects

Personal Portfolio

A premium full-stack portfolio built as a 3-app monorepo — public site, REST API backend, and a private admin dashboard.

Noloop

A glass-box medical claims adjudication and fraud-defense platform — an AI agent pipeline turns unstructured claim documents into explainable, role-specific decisions for patients, hospitals, and insurers.

RAG Document Assistant

A production-style Retrieval-Augmented Generation system — documents are chunked, embedded with SentenceTransformers, indexed in Endee's HNSW vector database, and retrieved via cosine-similarity k-NN search to ground Groq's Llama 3.3 70B in a user-provided knowledge base with full source attribution.