Project Portfolio

Below I have showcased two personal projects that I have programmed this semester in Java. Both were created in IntelliJ using a JFrame GUI, and are both complete with save and load states using JSON data.

Flappy Bird

Flappy Bird is a remake of the 2013 classic game where, on mobile, the screen is tapped to jump and dodge objects. In this version the spacebar is pressed to jump the sprite. The score is incremented every pipe that the sprite passes, and continues until the sprite contacts a pipe or the ground.

Initialization screen, giving the player instructions and prompting the game to start on spacebar press.

Gameplay: when the spacebar is pressed the sprite jumps up. The goal is to avoid the pipes for as long as possible.

The game is over when the sprite contacts a pipe or the ground. The player can then decide to play again or not.

Tetris

This Tetris Java project is a remake of the original, with simiilar parameters but a different user experience. The game increases in difficulty after the number of lines cleared equals or exceeds the current level multiplied by 5. Every level increases the score multiplier, but also increases the speed, which makes it much more difficult.

Initialization: the game prompts the player to start the game or adjust the settings. The player can toggle the music and sound effects, save and load the game, pause and unpause the game, and also change themes.

Gameplay: standard Tetris gameplay. Press A or D to rotate the block, use the directional arrows to move the block, and press the spacebar to drop the block to the bottom of the game board. Once a line of blocks is full, the line is cleared and the score is incremented.

Game over: the game is over if your blocks reach the top of the screen. Try to go for a high score!