Commit Graph

47 Commits

Author SHA1 Message Date
Siket Melinda Tekla fe4c1cebc6 Comments modified in Game.java 2016-05-16 21:24:03 +02:00
Siket Melinda Tekla d118036fc0 Comments added to Game.java 2016-05-16 20:48:41 +02:00
muskenum a1568774ca Disabled multiple ZPM-s on a Field
A tesztek szerint működik, 10 percig próbálkoztam vele :D
2016-05-16 18:01:37 +02:00
ericnerdo 2f8c4b7168 ZPM generating patched. If it won't work this time, imma look for the
razors in the drawer...
2016-05-15 22:59:06 +02:00
ericnerdo e16aa6824a GenerateZPM fixed, now it doesn't reach infinite purrs. 2016-05-15 13:11:18 +02:00
Kjistóf 4054d4a728 fixed everything related to the end of the game 2016-05-15 00:04:42 +02:00
Kjistóf 0f15ee6e89 now generated ZPMs count into game win requirements 2016-05-14 23:27:11 +02:00
ericnerdo b92f164948 ZPM generation fixed. 2016-05-14 23:19:11 +02:00
Kjistóf 74a34e61ad fixed a bug where a Player would win the game twice 2016-05-14 22:46:04 +02:00
ericnerdo 68253e7a5b A ZPM is generated after every 2 picked up ZPMs. 2016-05-14 22:39:07 +02:00
Kjistóf 5af0bcfd76 implemented end of games properly 2016-05-14 21:32:08 +02:00
Kjistóf 23271cc086 fixed bug where Tiles would be replaced with Fields on PlayerBase.destroy() 2016-05-14 18:46:59 +02:00
ericnerdo 55cae38f5f Jaffa, O'Neill and Replicator now inicialized as null.
Bypassing purrpurr errors, the default value of these attributes is null.
2016-05-14 14:13:27 +02:00
Bokros Bálint 73f01495f2 Removed unnecessary proxy method 2016-05-14 13:07:27 +02:00
Bokros Bálint 4f11f60b50 Implemented proper map size handling in Display 2016-05-14 03:05:17 +02:00
Bokros Bálint c75c277403 Implemented background music 2016-05-14 00:15:50 +02:00
Kjistóf 7d059701cc now Gaps that are converted to Fields show up correctly 2016-05-13 23:17:42 +02:00
Kjistóf 0346d99201 replicators now make Gaps Fields 2016-05-13 22:53:19 +02:00
Kjistóf 070c1f8720 removed unnecessary lines of code 2016-05-13 22:16:54 +02:00
Kjistóf 4aa307a254 refactored Game.getRandomDirection() to Direction.getRandom() 2016-05-13 22:00:06 +02:00
Bokros Bálint 37fa657720 Refactored flowoftime construction, fixes #9 2016-05-13 21:05:34 +02:00
Kjistóf 1a2d0fdfeb now ending outcomes of the game work purrfectly 2016-05-13 20:56:17 +02:00
Kjistóf d64fb27413 updated map format to read time limit & max ZPM count needed to win 2016-05-13 20:31:28 +02:00
Kjistóf 3be072e282 Complete overhaul of Application & ApplicationFrame so that game can end 2016-05-13 20:31:28 +02:00
Kjistóf 78b7645bfe made Game.updateDisplay() actually work. thanks whoever fucked it up!
closes #4.
closes #2.
2016-05-13 18:37:18 +02:00
Bokros Bálint a0f47a6e05 Added rotate to key options 2016-05-13 16:08:53 +02:00
Bokros Bálint c9ec85cec5 Implemented updateDisplay 2016-05-13 16:08:27 +02:00
ericnerdo cf52cb6cba Game.startGame() modified.
startGame now adds Players and Replicator to Display.
2016-05-13 14:36:32 +02:00
Kjistóf 024a1e8a9a added Dungeon & Display setters to Game 2016-05-13 14:06:02 +02:00
Bokros Bálint 3cd196df78 Refactored Game following the footprints of Socc
such Singleton, very software techniques, much patterns
2016-05-13 13:58:23 +02:00
Kjistóf 3d81dc6c65 Dungeon.buildDungeon() now correctly sets Display up 2016-05-07 19:15:19 +02:00
Bokros Bálint a7d6c604d8 Implemented Stargate shooting in Game 2016-05-07 17:45:06 +02:00
Bokros Bálint d61b6af8ed Implemented box operations 2016-05-07 16:51:20 +02:00
Bokros Bálint 645028bc94 Added keyboard input support for moving players and box operations 2016-05-07 15:20:20 +02:00
ericnerdo cc5f21ab78 Display display added to Game.java 2016-05-07 14:24:23 +02:00
Bokros Bálint a458aba4dd Added delay parameter to start of flowoftime 2016-05-07 14:19:53 +02:00
Bokros Bálint bf191678a6 Merge branch 'master' into game 2016-05-07 14:18:43 +02:00
Bokros Bálint e98abbecac Added FlowOfTime init in Game 2016-05-07 14:06:09 +02:00
Bokros Bálint e1c6612356 Added lots'a init stuff in Game 2016-05-07 14:04:55 +02:00
Kjistóf 7c3cbee3cc added GameoverCause to function sigtanures in Game 2016-05-07 13:43:26 +02:00
Bokros Bálint 96e53324e1 Removed main from Game.java
It gon' be called from Application anyway
2016-05-07 13:15:55 +02:00
Bokros Bálint 1ab13398bb reformatted code 2016-04-24 23:01:34 +02:00
muskenum 13a8adec82 Deleted echoes from all classes 2016-04-24 18:21:01 +02:00
Kjistóf e041576547 made cosmetic changes to most of the files: unified coding style 2016-04-23 17:15:19 +02:00
Bokros Bálint f45ed417ae Refactored ONeill into PlayerBase and Player
Change was needed because of updated specification.
2016-04-19 11:46:06 +02:00
Kjistóf 30251f6d88 added echoes to the Game class 2016-04-01 17:48:00 +02:00
ericnerdo 88b594b666 Initial commit
Base files for the project were added.

Update ONeill.java

Update Box.java

fixed everything, code now compiles correctly
2016-04-01 17:47:22 +02:00