Skip to content

This repository contains the code to the 2048 game built completely in Java

Notifications You must be signed in to change notification settings

nkher/2048_Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

2048_Java

This repository contains the code to the 2048 game built completely in Java.

The game is tried to be built using object oriented principles, with the main entities or objects being the GameContainer (Main Game board) and Block (Tiles) as the blocks in them. Other classes are either starter or helper classes. Appropriate methods and instance variables have been given to each of the classes and the naming is self explanatory, however suggestions are welcome.

System Requirements : Java SE 1.7, Apache Maven

How tu run ?

Step 1: Clone the project into a directory on your computer (any directory) using :

git clone https://github.com/nkher/2048_Java.git

Step 2: Run the following command

mvn clean package

Step 3:Run the starter class using the following command

mvn exec:java -Dexec.mainClass=nkher.Twenty_Forty_Eight_Java.GameStarter

Enjoy !

For any suggesttions or feedback please reach me at namesh.kher@hotmail.com

About

This repository contains the code to the 2048 game built completely in Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages