-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
The easiest way to start the game is to double click the file named COMP354-1.0-SNAPSHOT-jar-with-dependencies.jar
Also, you can launch it in the command line:
// change your working directory to the root directory where contains the file first
java -jar COMP354-1.0-SNAPSHOT-jar-with-dependencies.jar
Of course, you are required to at least have a JRE environment on your machine as a precondition.
If you would like the start the game from source code, the entry of the whole program is COMP354/src/main/java/entry/GameApp.java
. Just simply run the main()
in that file will start the game.
The whole project is using Maven to do the dependency management. So if you want to compile an executable jar file by yourself, you need to install Maven first. Here is a link to Maven installation guide.
After you installing Maven, you are able to use the following command to compile and package all dependencies to become an executable jar file which will appear in the target/
directory:
mvn package
First we start our turn by selecting a basic Pokémon card and put it face up onto the bench. The bench can hold up to 5 Pokémon if you have less than 5 Pokémon cards. Then we can evoke Pokémon at the beginning of our turn. When the Pokémon is evolved, it can keep all the cards attached to it, such as energy cards, evolution cards, etc. However, we can not evolve the same card a second time in the same turn. After the evolution, we can attach an energy to one of Pokémon on the bench (once per turn). We can use one stadium card per turn. We can retreat our active Pokémon once per turn If our active Pokémon counters lot of damage. We can use as many as abilities. Afterwards, we can attack the opponent if we are ready to attack. Before attacking, we can check several things. First we can check the energy which is attach to the Pokémon, and check the weakness and resistance of the opponent’s active Pokémon. Then we put damage counters on the opponent’s active Pokémon. Then, it is the opponent’s turn. If we knock out all our opponent’s Pokémon, or take all of our Prize cards, or there is no cards in the opponent’s deck, then we win.
Concordia University
Department of Computer Science and Software Engineering
COMP 354 Pokemon Go Back