Commit Graph

123 Commits

Author SHA1 Message Date
c397d079bf Reworked Events
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
Created Events
2024-11-13 13:45:19 +01:00
a99182beaf WIP - Event System
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-11 23:14:56 +01:00
b8145c3194 Merge pull request 'Logic + TUI | 100% coverage' (#24) from player-logic into development
All checks were successful
Build and Test (KnockOutWhist) TeamCity build finished
Reviewed-on: #24
2024-11-08 12:06:58 +01:00
807c37177d 100% coverage
All checks were successful
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
14c462029c Nearly 100% coverage again 2024-11-08 11:34:26 +01:00
26a6b45e59 More coverage 2024-11-08 11:13:23 +01:00
LQ63
fc3bc8ebbf Added TextMatchControllerTests Class
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-08 09:53:28 +01:00
LQ63
4321b36e38 Added more coverage
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-08 09:09:01 +01:00
4dda9b6520 Added more code coverage.
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
Improved some code
2024-11-07 23:31:27 +01:00
LQ63
ea7f8647f5 Added showWon()
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-07 23:13:37 +01:00
c6d95c28f0 Fixed Dog Life fixed tests
Some checks are pending
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.
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-07 21:26:12 +01:00
2f818a7e1d Fixed Scoverage not recognizing nested ifs statement
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-07 21:23:06 +01:00
9b00ce973c Added more coverage
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-07 21:12:55 +01:00
dab1a7847e Improved visibility of the suit to play
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 19:22:05 +01:00
1f21376386 Fixed Suit Checker
Some checks failed
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
Some checks failed
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
3595b4bdb7 Added more tests and increased code coverage
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 18:12:51 +01:00
LQ63
2d35e587b8 Added Final-Test to Match-Class
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 17:21:00 +01:00
acd0a0e682 Small fixes and extra test
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 17:20:29 +01:00
75f6b46e2f Removed default value from PlayerControl cause it was useless
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
Added Tests for the queue
2024-11-06 16:38:59 +01:00
dd216db43c Modified Simulate Input to work in Tests
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-06 15:41:02 +01:00
LQ63
7e0fcaf3a1 Added Test to Match-Class
Some checks failed
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
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 21:55:55 +01:00
LQ63
e301d64a6b Added new Method in player
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 21:16:12 +01:00
fa8bccdecb Modified Simulate Input to work in Tests
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 21:10:28 +01:00
c3a3dc2371 Reset Test Changes Part 2
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 20:24:45 +01:00
7123b5bfa3 Removing players who are out of the queue.
Also printing who is out.
2024-11-03 20:20:32 +01:00
71ded682bb Reset test changes 🤦🏻‍♂️
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 20:10:31 +01:00
bc2b745b3b Changed TestUtil
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 20:02:09 +01:00
c218afc43a Fixed DeckTests
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-03 19:58:50 +01:00
c07b0b8eda Changed the debug mode - No longer sleeps in debug mode
Some checks failed
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
64123101df Not well tested but bump of the current playable version - Caution not much Code Coverage
Some checks failed
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
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-02 11:53:33 +01:00
2268cce385 Modified Round, Trick finalize logic
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-02 11:03:41 +01:00
1b4eb648c5 Finalized custom ternary operator
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
Improved create round logic
2024-11-02 10:53:41 +01:00
7bf77d5d26 Modified Ternary Operator
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-02 10:49:46 +01:00
7f97779579 Merge remote-tracking branch 'origin/player-logic' into player-logic
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
# Conflicts:
#	src/main/scala/de/knockoutwhist/rounds/Match.scala
2024-11-02 10:48:13 +01:00
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.
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-11-01 18:33:14 +01:00
295eb21c6b Fixed Round PlayersOut Bug
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-10-31 16:33:32 +01:00
e81ecc0166 Fixed the tests - Started Gameplay Loop implementation
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-10-30 20:14:53 +01:00
8ce82b3270 Added Control Logics
Some checks failed
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
556305e1b7 Added an additional method for retrieving the hand of a Player
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-10-30 18:17:53 +01:00
f7f48f042e Merge remote-tracking branch 'refs/remotes/origin/matchplayermethods' into playerlogic
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-10-30 18:16:20 +01:00
ac36f55f57 Added Logic for Players
Some checks failed
Build and Test (KnockOutWhist) TeamCity build failed
2024-10-30 18:15:42 +01:00