Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
INFO1113 / COMP9003 Assignment
Task Description
In this assignment, you will create a game in the Java programming language using the Processing library
for graphics and gradle as a dependency manager. In the game, the player must be able to move chess
pieces on a chess board in order to play against an AI, ultimately capturing the opponent’s pieces and
executing a strategy to checkmate the opponent’s king.
You have been given the task of developing a prototype of the game. A full description of gameplay
mechanics and entities can be found below. An artist has created a simple demonstration of the game
and has posted it on your online forum (Ed). You can also play a similar game here.
You are encouraged to ask questions on Ed under the assignments category if you are unsure of the
specification – but staff members will not be able to do any coding or debugging in this assignment for
you. As with any assignment, make sure that your work is your own, and do not share your code or
solutions with other students.
Working on your assignment
You have been given a scaffold which will help you get started with this assignment. You can download
the scaffold onto your own computer and invoke gradle build to compile and resolve dependencies. You
will be using the Processing library within your project to allow you to create a window and draw
graphics. You can access the documentation from here.
INFO1113
Page 2 of 11
Gameplay
The game contains a number of entities that will need to be implemented within your application.
Board
The board consists of a grid of tiles 14x14. Each tile is 48x48 pixels, so the total is 672x672 pixels.
However, there are 120 pixels on the right sidebar reserved for information such as timers showing the
number of minutes and seconds remaining on each player’s clock, and warnings or other messages for the
user. The window size is therefore 672x792.
The board is arranged in a checkerboard pattern as below with alternating black and white tiles. These are
fixed and do not change. Pieces sit atop these tiles, and the tiles may change colour shade to indicate
highlights for particular reasons.