Close
0%
0%

2048 Game

The hardware version of the addicting 2048 game. (http://gabrielecirulli.github.io/2048/)

Similar projects worth following
Because I got addicted to the 2048 game (http://gabrielecirulli.github.io/2048/), I wanted to see if it is possible to recreate the game using an arduino chip (atmega 328) and 16x4 7 segment displays.

I started out with sourcing all the required hardware for the game. All of it is from eBay.
After I ordered all the components, I had to wait some weeks before I could actually start developping the PCB. I needed to check the real dimensions of the components before creating the PCB. So when finally my components arrived, I drafted the schematic in Eagle and send it over to some Chinese PCB manufacturer.

Waiting for my PCB, I started writing the code for the Arduino. I started out with the Javascript code from http://gabrielecirulli.github.io/2048/ and converted this to C++ code for the Arduino. For testing this code I first started playing the game trough the serial connection on the Arduino.

At the end I solderded all the hardware which took some more time than anticipated.
  • 1 × sot-23 S9012 pnp transistor
  • 16 × 4-digit 7 segment displays
  • 1 × Arduino compatible board Together with a friend we already created an Arduino compatible board.
  • 8 × Custom PCB Designed in Eagle (quick and dirty design)
  • 24 × 74HC595 shift register Electronic Components / Misc. Electronic Components

View all 7 components

Enjoy this project?

Share

Discussions

derouenkamryn372 wrote 01/25/2024 at 17:34 point

Embark on a thrilling journey with Hailey in the action-packed adventure game that takes you through mysterious realms and challenging puzzles. As the courageous protagonist, Hailey, players explore enchanted landscapes, encountering magical creatures and overcoming obstacles to save a world in peril.https://haileystreasureadventureapk.com/haileys-treasure-adventure-old-version/

  Are you sure? yes | no

ffkjbj wrote 12/25/2023 at 15:04 point

Patti Sky headphones are ergonomically designed with adjustable headbands and soft ear cushions, ensuring a comfortable fit for long listening sessions. The lightweight construction reduces strain on the head and ears, allowing you to enjoy your music without discomfort https://pikashows.net/3-patti-sky-apk/.

  Are you sure? yes | no

fsdgsdghh wrote 12/14/2023 at 16:04 point

PC gaming allows for extensive customization options, from choosing the components of your gaming rig to modifying in-game settings. pc edgedThis flexibility enables gamers to optimize their gaming experience according to their preferences, whether it's adjusting graphics settings, using mods, or installing custom software https://pcedged.com/.

  Are you sure? yes | no

[deleted]

[this comment has been deleted]

Ruud Harmsen wrote 08/04/2023 at 12:22 point

Go ahead ;) 

  Are you sure? yes | no

[deleted]

[this comment has been deleted]

Ruud Harmsen wrote 08/04/2023 at 12:22 point

Go ahead;)

  Are you sure? yes | no

John Bradnam wrote 05/07/2022 at 08:22 point

👍👍👍 - I just came across your version of 2048 after recently completing my implementation of the same game. I didn't use any off-the-shelf modules, so it is a bit more of a challenge to build compared to yours. It also uses 4 Digit 7 segment displays but is driven by a ATtiny1614 CPU. You can find my build at https://www.hackster.io/john-bradnam/2048-puzzle-20d42b

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates