Projects, portfolio, and personal work of Joe Pelz

Making a GUI for 2048

SO much more successful than it's predecessor 2047

As a project for my communications class, I needed to put together an instruction manual on how to accomplish a "technical task." In this case I chose a few topics in making a GUI with javax.swing, centered around the simple game 2048. Despite the focus of the tutorial being GUI building, I have included the supplementary code needed to get the game fully working.

The table of contents includes:

Download the instruction manual here

Download the supplementary code here

Download the jar file of the finished product here

Since release, I improved the game logic to be simpler, more concise and more functional, but the manual uses the first edition so that is what I provided. A friend of mine and I built some AIs that would auto-play the game with different algorithms. He got an AI to the point where it would get as far as 2048 sometimes, but then we both abandonded the task. Would you care to write one?

2048 was originally written by Gabriele Cirulli and then cloned many times over. My thoughts on this are too many and off-topic to fit in this space.