Commit Graph

25 Commits

Author SHA1 Message Date
flecomte 51d857513c Create test for complete game
create notifications for reply the players
implement notifications on GameEventPlayerNotificationListener
add priority to the eventbus.subscribe()
improve JWT creation
update libs koin + ktor
remove output of GameCommandStream
improve logs
create a function disableShuffleDeck to disable the shuffle of the deck (for tests)
2025-04-14 23:39:36 +02:00
flecomte 99f0760d3c Clean and fix 2025-04-14 23:39:36 +02:00
flecomte d84e8359c9 CommandStreamChannelTest 2025-04-14 23:39:35 +02:00
flecomte c50127ba1b PlayersHands class 2025-04-14 23:39:35 +02:00
flecomte fd78bfa4d0 Stack and Discard class 2025-04-14 23:39:35 +02:00
flecomte 7043e1c6e7 Deck tests 2025-04-14 23:39:34 +02:00
flecomte 729e7f6adc PlayerHand test 2025-04-14 23:39:34 +02:00
flecomte b6908cc712 create ICantPlayCommand
+ move canBePlayThisCard
2025-04-14 23:39:33 +02:00
flecomte 32472018d4 players hands and deck is modify on PlayerHavePassEvent & CardIsPlayedEvent events 2025-04-14 23:39:33 +02:00
flecomte 4b6eaaf58c move login from state to Command 2025-04-14 23:39:33 +02:00
flecomte 84615dec36 create IWantToJoinTheGameCommand 2025-04-14 23:39:32 +02:00
flecomte a4e83f7357 extract action command 2025-04-14 23:39:32 +02:00
flecomte bc35131bfc add IamReadyToPlayCommand & refactoring 2025-04-14 23:39:31 +02:00
flecomte 06443d7efa refactoring 2025-04-14 23:39:31 +02:00
flecomte f3ca94c97e create bus and subscriber 2025-04-14 23:39:30 +02:00
flecomte a6847353b2 Rename HttpInput to HttpRoute 2025-04-14 23:39:30 +02:00
flecomte 299ebff88b Refactor app configuration 2025-04-14 23:39:30 +02:00
flecomte de3d4a1021 Add Comments 2025-04-14 23:39:29 +02:00
flecomte ae5c229e4b Refactor 2025-04-14 23:39:29 +02:00
flecomte 03ba14d918 update ktlint 2025-04-14 23:39:28 +02:00
flecomte 53cc961c62 create CommandStream and first Command 2025-04-14 23:39:28 +02:00
flecomte 8beb66d8dc EventStream.publish() can now receive vararg 2025-04-14 23:39:27 +02:00
flecomte 43b5f27e50 Implement first routes & tests
install Koin
install kotest
declare first events
create EventStream
2025-04-14 23:39:27 +02:00
flecomte 5434c59129 add ktlint to project 2025-04-14 23:39:26 +02:00
flecomte e39c38ced5 Init empty project 2025-04-14 23:39:20 +02:00