Back to photostream

Main class 1

The following pictures are going to show the code used for my nearly finished narrative game. This one challenges the player's ability to survive an alien invasion. The game consists on choosing each of the decisions of the player.

 

The game was finished long time ago, however it was based in if and else if statements. This made the code very difficult to interpret and understand. Therefore for the benefit of my project I decided to re do it. But this time i've divided every element of the game in java classes. In addition, i'm taking advantage of this situation to make the game run in a JFrame instead of running it in the console, of the coding platform IntelliJ.

9 views
0 faves
0 comments
Uploaded on February 26, 2020