A 2048 game written in Java to a university project from my course. Developed with inheritance and polymorphism concepts. The game itself is in portuguese language.
2048 is a thinking game that the objective is to merge blocks with the same value until it forms a 2048 block.
- Clone the archive or download the last version on tab Releases.
- Extract the zip file.
- Open the 2048-v1.0.jar file or just clone, compile with a IDE and run the game.
- Open the "mobile_controller" file.
- Connect your cellphone to the machine.
- With both programs open and running, just play! :)
OBS: Check if the machine has installed JAVA SE 8+.
OBS²: If the .jar does not open in Linux, open the terminal on the root folder, and execute the command "java -jar 2048-v1.0.jar".
OBS³: Download Android Studio: ANDROID STUDIO
- With the "mobile_controller" folder installed downloaded, open Android Studio and open the downloaded project.
- With the project open, follow these directories: "mobile_controller / app / src / main / java / com / engcomp2019 / controller" and "mobile_controller / app / src / main / res / xml / network_security_config.xml", change the fields initialized with a default IP to your machine's IP.
- Save changes made, and follow game installation instructions.
- With the game running, select the desires options on menu and click on "START" to initiate the game.
- To perform the movements, use the keyboard arrows, "w","a","s","d", the arrows on display or click and drag the mouse cursor.
- The custom icon represents an Easter Egg.
- To return a movements realized click on left oriented arrow.
- Click on "ARCHIVE" on upper left corner to access the available options.
Erick M. L. Pacheco, R.A. 18711630
Leonardo Sanavio, R.A. 18054395
Thanks!