161 Commits (85e8867e06e7d7250e65c406ab53b0cc9b039544)
 

Author SHA1 Message Date
Malte Schellhardt 85e8867e06 tictactoe: refactored fieldIsEmpty method 2 years ago
Malte Schellhardt 58f7647ce8 tictactoe: added test cases for fieldIsEmpty method and created constructor with gameboard as parameter 2 years ago
Malte Schellhardt cc16fd3389 tictactoe: added method to check if field is not set 2 years ago
Malte Schellhardt 46b1605e31 tictactoe: refactored test code to use one game instance object for all test cases 2 years ago
Malte Schellhardt 8b31b76e69 tictactoe: added test case for player 2 in playfield setter 2 years ago
Tobias Krause 332a74df86 tictactoe: bugfix: if row and col with same number each contain two chars of same player, col isnt ignored anymore 2 years ago
Tobias Krause e305236728 tictactoe: hard ai sets first empy field if theres no better option 2 years ago
Tobias Krause 412558578c tictactoe: hard ai sets always in the nearest edge to opponents field 2 years ago
Tobias Krause f44e9e6eb2 tictactoe: hard ai sets always in the nearest edge to opponents field 2 years ago
Tobias Krause 9111545ec3 tictactoe: hard ai checks for own opportunity to win first 2 years ago
Tobias Krause c0310d8ed6 tictactoe: hard ai uses chance to win in diagonal 2 years ago
Tobias Krause 7f1b801c93 tictactoe: hard ai uses chance to win in cols 2 years ago
Tobias Krause 360870072e tictactoe: hard ai uses chance to win in row 2 years ago
Tobias Krause b29b7ee9d7 tictactoe: hard AI prevents opponents win in diagonal 2 years ago
Tobias Krause 7115050d60 tictactoe: hard AI prevents opponents win in col 2 years ago
Tobias Krause c6e0d83d70 tictactoe: hard AI prevents opponents win in row 2 years ago
Tobias Krause 01f94e3198 tictactoe: countCharsInDiag throws IndexOutOfBoundsException for invalid index 2 years ago
Tobias Krause cce28aacd0 tictactoe: countCharsInDiag counts number of given char in specific diagonal 2 years ago
Tobias Krause 525754409a tictactoe: added method countCharsInDiag 2 years ago
Tobias Krause 36b8cdfcac tictactoe: countCharsInCol counts number of given char in specific col 2 years ago
Tobias Krause 8c89d0edd6 tictactoe: added method countCharsInCol 2 years ago
Tobias Krause 9029de6c12 tictactoe: countCharsInRow counts number of given char in specific row 2 years ago
Tobias Krause ddf9aebb8f tictactoe: added method countCharsInRow 2 years ago
Tobias Krause 4456251b07 tictactoe: hard AI sets edge in second move 2 years ago
Tobias Krause 7c7e134ad9 tictactoe: hard AI sets middle field if it hasnt been set yet 2 years ago
Tobias Krause 93591f47c0 tictactoe: hard AI chooses edge field if field in the middle was already set 2 years ago
Tobias Krause 88d559c6c9 tictactoe: added hard AI 2 years ago
Tobias Krause bd561b7024 tictactoe: AIEasy never sets a field which was already set 2 years ago
Tobias Krause a786eb7496 tictactoe: added easy AI 2 years ago
Malte Schellhardt 972fcd97a6 tictactoe: added setter for playfield and changed internal board datatype to char 2 years ago
Malte Schellhardt 27cadc4097 tictactoe: refactored test code 2 years ago
Malte Schellhardt 4e425ff54b tictactoe: added restriction for board sizes below three 2 years ago
Malte Schellhardt edbbefc7ff tictactoe: fixed fieldCountTest. Now works with different playfield sizes 2 years ago
Malte Schellhardt 60ec15241b tictactoe: refactored board management and added constructor to handle different playfield sizes 2 years ago
Malte Schellhardt 068bed8357 tictactoe: added method to count playing fields 2 years ago
Malte Schellhardt d6b0153491 tictactoe: added getter for game board 2 years ago
Malte Schellhardt 4e743e694e tictactoe: added class for gamelogic 2 years ago
Lorenz Hohmann 2c299f689a Added GameManager and check if GameState is correct after start function call 2 years ago
Jenkins 5fe12bc7ec Merge commit '0559513f69bcd908594e5ad75e6d58972ed527ec' into HEAD 2 years ago
Jenkins 61e1035bb1 Merge commit '353c68c35867e57d918907c9d8d86edbeb0890e1' into HEAD 2 years ago
Lorenz Hohmann 353c68c358 Fixed JUnit Imports (Maven didn't compile correctly) 2 years ago
Lorenz Hohmann d5d6af193e Beautified GUI Won Screen 2 years ago
Lorenz Hohmann bed8f71879 Implemented gameOver() function in GUI with test case 2 years ago
Lorenz Hohmann 8e92a1caee Added third test for areAllShipsHit() when a ship is not fully hit 2 years ago
Lorenz Hohmann aae87e50e1 Refactoring MatchfieldShipTest class: added description for tests and outsourced multiple tests into more functions 2 years ago
Lorenz Hohmann 27e7a96ba7 Added second test case for areAllShipsHit() - all ships hit test 2 years ago
Lorenz Hohmann abeaff8d7b Implemented areAllShipsHit() with first test case if no ship was hit 2 years ago
Lorenz Hohmann 805c233108 Fixed GameLogicTest with new test parameter in start() function 2 years ago
Lorenz Hohmann 5d039543b7 GUI Refactoring 2 years ago
Lorenz Hohmann 629063b5ff Fixed that AI has next move when ship was hit 2 years ago