- Programming in Java: To implement classes for a given interface
- SW Development tools: To learn unit testing with Junit, working with a version control system
- SW Development: To get experience with writing comments before coding
Context: You are a freelance software developer hired by a company to
empower their development team on a running project. Your job is to
implement some missing code for a 2048 game. The head designer
determined the overall design, fixed interfaces and charges you to fill in the
blanks to make the overall product work. You get paid for an overall working
solution (not by the hour). Your code is evaluated with the help of a given set
of test cases known to you.
You will need to implement at least 1 class, namely State.java. The
responsibility for this class is to represent the state of a 2048 game for a
graphical user interface that is implemented in an existing, giving Game2048.java class.
You can add other classes as you deem necessary but you are not allowed to change the given
interface GameState.java. See also https://www.wikihow.com/Beat-2048 for further information
on the 2048 game itself or https://play2048.co to play the game on a website.
1) Gitlab: Create a new GitLab Project named