Commit Graph

33 Commits

Author SHA1 Message Date
8c6f2dfad2 Adds Jenkinsfile
All checks were successful
EpicKnarvik97/pokemon-cmd/master This commit looks good
Also fixes some typos
2020-02-16 02:42:52 +01:00
c5c4420ac0 Huge changes
Refactoring of Game
Adds and improves all comments
Restructures files
Improves items
Makes project into a maven project
2020-02-16 02:36:26 +01:00
72fc38b309
Update .gitignore 2017-11-29 16:16:37 +01:00
02c8ed1d44
Delete Run.bat 2017-11-29 16:16:09 +01:00
45ecf0eba1
Delete Compile.bat 2017-11-29 16:16:00 +01:00
2b861a53de
Rename docs/LICENSE to LICENSE 2017-11-28 16:44:23 +01:00
e588c16736
Rename LICENSE to docs/LICENSE 2017-11-28 16:44:00 +01:00
f857ae1d86 Fixed some error messages. 2017-11-28 15:53:04 +01:00
907b9e165b Fixed compiling after location change.
Fixed compiling.
Added automatic javac compilation before jar generation.
2017-11-28 15:30:39 +01:00
a5e5750362
Update Compile.bat 2017-11-28 14:56:14 +01:00
79ad8fcb4a
Update Game.java 2017-11-28 14:55:44 +01:00
a7dd6c144c
Rename Pokemon.txt to java/config/Pokemon.txt 2017-11-28 14:54:17 +01:00
262a1f48be
Rename Trainer.java to java/Trainer.java 2017-11-28 14:53:45 +01:00
81257d16da
Rename Potion.java to java/Potion.java 2017-11-28 14:53:28 +01:00
89e84cb939
Rename Pokemon.java to java/Pokemon.java 2017-11-28 14:53:08 +01:00
d2fc3b066c
Rename Pokeball.java to java/Pokeball.java 2017-11-28 14:52:50 +01:00
ea6c86b0c2
Rename Inventory.java to java/Inventory.java 2017-11-28 14:52:34 +01:00
7fc73ef2b4
Rename Game.java to java/Game.java 2017-11-28 14:52:16 +01:00
7b8d3b65a6
Rename issue_template.md to docs/issue_template.md 2017-11-28 14:49:05 +01:00
cbeca8eb5f Added files for compiling as jar.
Added a manifest and two bat files to compile and run the software in a single jar file.
Added checking when reading pokemon to read from jar if necessary.
2017-11-28 13:58:53 +01:00
8860f39f2c Rewrote some methods as non-static.
Functions for getting potions, pokeballs and pokemon are now in non-static classes.
This will make it easier to manage other npc trainers in the future.
2017-11-27 20:48:24 +01:00
b39f03c447 Prevented extra newline on invalid integer for potion or pokeball. 2017-11-27 11:19:58 +01:00
666c89fa8f Fixed some errors and issue #14.
Capturing pokemon now happens inside the Trainer object. usersPokemon is no longer used.
2017-11-27 11:11:31 +01:00
b242cfd183
Create issue_template.md 2017-11-26 17:30:03 +01:00
BuildTools
63859fe4ae Replaced items with inventory. This makes it easier to validate items and add new items, but we need to remove some code repetition. 2017-11-26 14:27:38 +01:00
948b26edf3
Update README.md 2017-11-26 11:31:12 +01:00
b0229b71a9
Update README.md 2017-11-26 11:30:47 +01:00
1d2de15c8c
Created a trainer class (#12)
Added a trainer class with a name, a list of pokemon and a list of items. Game.java has been changed to treat the player as a Trainer.
2017-11-25 22:28:17 +01:00
bdb871d35c
Create LICENSE 2017-11-25 15:39:17 +01:00
Marios F
2a6a90ce13 Added gitignore for Java (#11)
* Added gitignore for Java

* Fixed my awful mistake
2017-11-25 15:28:59 +01:00
f0313f0e04
Update README.md 2017-11-25 10:55:02 +01:00
42ff37ce5f
Uploaded main files 2017-11-24 16:02:57 +01:00
12265045d3
Initial commit 2017-11-24 16:02:07 +01:00