Commit Graph

20 Commits

Author SHA1 Message Date
MikeZyeman e910b11021 Added and changed Comments 2021-10-15 08:39:50 +02:00
schrom01 cb29be6204 corrections in output texts
added separator after language change
2021-10-15 08:24:21 +02:00
MikeZyeman 904f7cfe49 Merge remote-tracking branch 'origin/master' 2021-10-15 00:21:58 +02:00
MikeZyeman af08c54c4c Changed huge if condition chain to a boolean term. Unit tests are being executed correctly 2021-10-15 00:21:52 +02:00
Andrin Fassbind d88c41fa6c removed final from datafield 2021-10-14 14:34:12 +02:00
MikeZyeman 44cd370e17 Changed If Condition and added README.md 2021-10-11 09:39:24 +02:00
Andrin Fassbind 4fd4727068 updated javadoc 2021-10-09 15:57:54 +02:00
Andrin Fassbind 5c86d218cb added language.outputGameOverText() at line 53 Game.java
changed Method switchPlayer() and checkForTie() to private at line 71 and line 138 Game.java
2021-10-09 15:50:38 +02:00
Andrin Fassbind acb204f551 set variable player1 & player2 to final
deleted unnecessary import in Test classes
added outputTieText to class Game
2021-10-09 15:44:36 +02:00
Leonardo Brandenberger a7f7758eca fixed error in checkForWin method 2021-10-09 12:50:10 +02:00
MikeZyeman 5da16bb1d5 Game.java
+ Implementented method PlaceMethod completely
+ Implemented method CheckForTie
* Changed checkForWin into else

Language.java

+ Added outputSeparator()
+ Added outputGameStartedText()
+ Added outputMoveText()

GameTest.java

Added Tests to catch System out printlns
2021-10-09 12:31:56 +02:00
Leonardo Brandenberger 707b106464 Added JavaDoc to methods and simplified checkWinVariants 2021-10-08 10:57:32 +02:00
Andrin Fassbind 0fb86c03e5 -Class LanguageTest implemented 2021-10-08 10:41:55 +02:00
MikeZyeman 5beb3d5dbb + Created UnitTest for class Game 2021-10-08 09:15:24 +02:00
Leonardo Brandenberger 2bbd349988 changed method checkForWin and created method checkWinVariants 2021-10-08 08:26:39 +02:00
Leonardo Brandenberger 96a94aa12d method checkForWin implemented 2021-10-07 22:18:34 +02:00
MikeZyeman 962e61fa63 Game.java
+ Finished method switchPlayer and almost finished
+ Added datafield playerPlaying and gameFinished
+ Added JavaDoc comments
2021-10-07 21:30:49 +02:00
MikeZyeman 1860f01b25 Added methods placeField and switchPlayer() 2021-10-07 17:47:59 +02:00
Leonardo Brandenberger f678b6a422 method change language added 2021-10-07 17:24:24 +02:00
Leonardo Brandenberger 5edbd7123e Created Class Game and removed Test methods 2021-10-07 16:56:04 +02:00