Back to Projects

Mario Game

JavaSwing/AWTObject-Oriented Programming

About

A 2D platformer game inspired by the classic Mario franchise, built entirely in Java. The game features a player-controlled Mario character who can move, jump, collect coins, and avoid enemies within a timed level. Core mechanics include collision detection, scoring, and win/lose conditions based on collecting all coins before the timer runs out. The game loop handles rendering, player input, and enemy movement in real time. This project demonstrates object-oriented programming concepts such as inheritance, polymorphism, and encapsulation, while also showcasing custom game physics and graphics rendering from scratch.

Gallery

Mario Game media 1