/2048

'2048' game programmed in Java (Processing) as a computer science project.

Primary LanguageProcessingMIT LicenseMIT

2048

2048 Bright

Processing Build & Export

Computer Science Project 2021

Programmed by Lukas Klärchen & Jan Klotz

Features

  • Full-featured 2048-game.
  • Soundtrack & Sounds (can toggle)
  • Darkmode
  • Score & Saved Highscore
  • Easily programmed to understand easily.
  • Cheat- / Easy-Mode

Installing

With Processing installed:

Just download the archive, extract, open the main/main.pde with Processing and install the Sound library under "Add tools".

Without Processing installed:

Latest Release:

Download the latest software from the releases page corresponding to your OS and just run the executable.

Latest (Unstable) Build:

Go into the Actions tab, go to the latest run and download your corresponding artifact (Linux/Windows).

How to Play

Playing

The goal of 2048 is to merge same powers of 2 to higher and higher numbers until you are able to merge 2 numbers into 2048. You can move all numbers to how far they can go by using the arrow keys, WASD or just clicking the mouse at N E S W. The game is over when the 4*4 tile is full and no number can move any further.

Cheat Mode

The Cheat Mode is like an easy mode for just trying out the game. Your highscore won't be saved and you are able to click on specific tiles to delete the numbers in them for an always-ongoing game.

To-Do

Sorted from top (important) to bottom (not/less important)

    • Fix square values
      1. Fix value coords
      2. Fix Switch/Case
      3. Bug: Sometimes it's not doing anything and overwriting an existing tile. (rarely)
    • Add Merge Mechanics
      1. Fix old numbers not disappearing
      2. Fix numbers disappearing when using for example right at the complete right.
      3. Proper movement, checking for numbers in front
      4. Merging
      5. Bug: Number a skips to the last tile even though there are numbers in between.
      6. Bug: Sometimes the array is partially reset.
    • Add Score
    • Add reset and stop actions (press 'r' / press 's')
    • Animations
    • Startscreen
    • "Game Completed" / Game Over Status
    • Option for score to be continued (Endless mode)
    • Easter Eggs?
    • -> Dark Mode (game completed?)
    • Game Sounds

References

Icons made by Freepik from Flaticon