Follow these steps to run the game:
- Open IntelliJ IDEA.
- Build the
test.javafile. - Run the main method of the
test.javafile. - When prompted, enter a name for the first player.
- Next, enter a name for the second player.
- Choose how many months you want to play.
- The game has started! Enjoy.
Make sure you have IntelliJ IDEA installed on your system. You can download it from here.
Enjoy the game!