Commit Graph

13 Commits

Author SHA1 Message Date
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