Commit Graph

123 Commits

Author SHA1 Message Date
Janis c397d079bf Reworked Events
Build and Test (KnockOutWhist) TeamCity build failed
Created Events
2024-11-13 13:45:19 +01:00
Janis a99182beaf WIP - Event System
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-11 23:14:56 +01:00
Janis b8145c3194 Merge pull request 'Logic + TUI | 100% coverage' (#24) from player-logic into development
Build and Test (KnockOutWhist) TeamCity build finished
Reviewed-on: #24
2024-11-08 12:06:58 +01:00
Janis 807c37177d 100% coverage
Build and Test (KnockOutWhist) TeamCity build finished
2024-11-08 12:03:26 +01:00
LQ63 7c1297f10c Added test for ControlSuitPlayed 2024-11-08 11:45:48 +01:00
LQ63 b95f555edf Merge remote-tracking branch 'origin/player-logic' into player-logic
# Conflicts:
#	src/test/scala/de/knockoutwhist/control/text/TextMatchControllerTests.scala
2024-11-08 11:43:32 +01:00
LQ63 8f2147369d Added test for ControlSuitPlayed 2024-11-08 11:41:43 +01:00
Janis 14c462029c Nearly 100% coverage again 2024-11-08 11:34:26 +01:00
Janis 26a6b45e59 More coverage 2024-11-08 11:13:23 +01:00
LQ63 fc3bc8ebbf Added TextMatchControllerTests Class
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-08 09:53:28 +01:00
LQ63 4321b36e38 Added more coverage
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-08 09:09:01 +01:00
Janis 4dda9b6520 Added more code coverage.
Build and Test (KnockOutWhist) TeamCity build failed
Improved some code
2024-11-07 23:31:27 +01:00
LQ63 ea7f8647f5 Added showWon()
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-07 23:13:37 +01:00
Janis c6d95c28f0 Fixed Dog Life fixed tests
Build and Test (KnockOutWhist) TeamCity build started
2024-11-07 22:14:03 +01:00
LQ63 88b32a83f0 Added playerlogic for dog life. Cards are now displayed in colour.
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-07 21:26:12 +01:00
Janis 2f818a7e1d Fixed Scoverage not recognizing nested ifs statement
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-07 21:23:06 +01:00
Janis 9b00ce973c Added more coverage
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-07 21:12:55 +01:00
Janis dab1a7847e Improved visibility of the suit to play
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 19:22:05 +01:00
Janis 1f21376386 Fixed Suit Checker
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 19:19:02 +01:00
LQ63 fe396b4f6a Merge remote-tracking branch 'origin/player-logic' into player-logic
Build and Test (KnockOutWhist) TeamCity build failed
# Conflicts:
#	src/main/scala/de/knockoutwhist/control/text/TextMatchControl.scala
2024-11-06 19:13:05 +01:00
LQ63 54fc0159e3 Added Check for Suit 2024-11-06 19:10:13 +01:00
Janis 3595b4bdb7 Added more tests and increased code coverage
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 18:12:51 +01:00
LQ63 2d35e587b8 Added Final-Test to Match-Class
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 17:21:00 +01:00
Janis acd0a0e682 Small fixes and extra test
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 17:20:29 +01:00
Janis 75f6b46e2f Removed default value from PlayerControl cause it was useless
Build and Test (KnockOutWhist) TeamCity build failed
Added Tests for the queue
2024-11-06 16:38:59 +01:00
Janis dd216db43c Modified Simulate Input to work in Tests
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 15:41:02 +01:00
LQ63 7e0fcaf3a1 Added Test to Match-Class
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-05 18:40:25 +01:00
LQ63 d22edec3f3 Added toString- methods for Trick, Match and Round. Fixed DeckTests and startet RoundTests
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 21:55:55 +01:00
LQ63 e301d64a6b Added new Method in player
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 21:16:12 +01:00
Janis fa8bccdecb Modified Simulate Input to work in Tests
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 21:10:28 +01:00
Janis c3a3dc2371 Reset Test Changes Part 2
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 20:24:45 +01:00
Janis 7123b5bfa3 Removing players who are out of the queue.
Also printing who is out.
2024-11-03 20:20:32 +01:00
Janis 71ded682bb Reset test changes 🤦🏻‍♂️
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 20:10:31 +01:00
Janis bc2b745b3b Changed TestUtil
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 20:02:09 +01:00
Janis c218afc43a Fixed DeckTests
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 19:58:50 +01:00
Janis c07b0b8eda Changed the debug mode - No longer sleeps in debug mode
Build and Test (KnockOutWhist) TeamCity build failed
Debunked start Method in MatchControl
Made it possible to actually win a match
2024-11-03 17:28:10 +01:00
Janis 64123101df Not well tested but bump of the current playable version - Caution not much Code Coverage
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-02 15:06:11 +01:00
LQ63 4e7ef548be Added new Method in player and startet test-logic
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-02 11:53:33 +01:00
Janis 2268cce385 Modified Round, Trick finalize logic
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-02 11:03:41 +01:00
Janis 1b4eb648c5 Finalized custom ternary operator
Build and Test (KnockOutWhist) TeamCity build failed
Improved create round logic
2024-11-02 10:53:41 +01:00
Janis 7bf77d5d26 Modified Ternary Operator
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-02 10:49:46 +01:00
Janis 7f97779579 Merge remote-tracking branch 'origin/player-logic' into player-logic
Build and Test (KnockOutWhist) TeamCity build failed
# Conflicts:
#	src/main/scala/de/knockoutwhist/rounds/Match.scala
2024-11-02 10:48:13 +01:00
Janis 55ef40e063 Modified Match create_round algorithm
Added Java Like Ternary Operator
2024-11-02 10:46:41 +01:00
LQ63 a4afb0b1e1 Added Match-Tests and round tests.
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-01 18:33:14 +01:00
Janis 295eb21c6b Fixed Round PlayersOut Bug
Build and Test (KnockOutWhist) TeamCity build failed
2024-10-31 16:33:32 +01:00
Janis e81ecc0166 Fixed the tests - Started Gameplay Loop implementation
Build and Test (KnockOutWhist) TeamCity build failed
2024-10-30 20:14:53 +01:00
Janis 8ce82b3270 Added Control Logics
Build and Test (KnockOutWhist) TeamCity build failed
Added Round Complete
Added Match Over

WIP - I Broke The Tests
2024-10-30 19:51:22 +01:00
Janis 556305e1b7 Added an additional method for retrieving the hand of a Player
Build and Test (KnockOutWhist) TeamCity build failed
2024-10-30 18:17:53 +01:00
Janis f7f48f042e Merge remote-tracking branch 'refs/remotes/origin/matchplayermethods' into playerlogic
Build and Test (KnockOutWhist) TeamCity build failed
2024-10-30 18:16:20 +01:00
Janis ac36f55f57 Added Logic for Players
Build and Test (KnockOutWhist) TeamCity build failed
2024-10-30 18:15:42 +01:00