This project contains the source code for a farm simulation game. In this game, the player is starting their new life on a country farm. The objective of the game is to earn as much money as possible, obtain assets and keep farm life happy and healthy. You will need to care for your crops and animals to make the biggest profit for your farm.
Eclipse for Java is required to follow the build instructions. The Java 11 JDK must be installed.
We have provided the source code for the farm simulator in a .zip file. The following steps can be followed to load the source files into eclipse:
- Create a new Java project inside your workspace directory. A module-info.java file is not required.
- Right click on the source folder inside the project and choose 'Import...->General->File system'
- Locate the source files provided in the .zip file. Import all files
Navigate to the following file and run it to begin the game:
/src/farm.gui/ApplicationManager.java
- Ensure Java 11 is installed on the machine
- Open the zip folder in a terminal window
- Run the following command:
java -jar mst167_lma192_FarmingSimulator.jar