Commit Graph
100 Commits
Author SHA1 Message Date
zephyr 29265a18b7 add status messages for new items 2024-04-07 21:55:49 -05:00
zephyr d0b3cbd47a add adrenaline to dto 2024-04-07 21:27:32 -05:00
zephyr 93716a7f0f implement model for adrenaline 2024-04-07 20:40:01 -05:00
zephyr 9395b2192e update item count per game
For #17.
2024-04-07 16:08:19 -05:00
zephyr c8db9d1959 add new items and handle the easy ones
For #17.
2024-04-07 16:04:38 -05:00
zephyr 29a14960f4 use math/rand/v2 for randomness 2024-04-07 15:14:57 -05:00
zephyr e25c952bcd update language version and dependencies 2024-04-07 15:05:32 -05:00
zephyr f0bdfd9443 only do that for attacks 2024-02-04 12:53:00 -06:00
zephyr a6d1b5cc0b don't send actions too soon after an update
Fixes #10.
2024-02-04 12:49:47 -06:00
zephyr b70abac827 unexport things that don't need to be exported
Most of all, this lets staticcheck point out things that are unused.
Also delete an unused thing found as a result of this.
2024-02-04 10:37:20 -06:00
zephyr 754da18c99 actually use logout stuff 2024-02-04 10:27:46 -06:00
zephyr 6e6aca91f6 indicate the player's role
Fixes #15.
2024-02-04 09:59:45 -06:00
zephyr cc33c78305 hide the move timer when the game ends 2024-02-04 09:55:53 -06:00
zephyr fb6f99e7b0 remove sync that no longer happens oops 2024-02-04 09:52:14 -06:00
zephyr 658634c0db exchange syncing persons in matchmaking 2024-02-04 09:45:38 -06:00
zephyr 82aba814e6 parameterize lobby by exchange types 2024-02-04 09:25:09 -06:00
zephyr 72b0cd1023 inline player hp component 2024-02-04 08:47:21 -06:00
zephyr b1bba55a7b watch round timer immediately 2024-02-03 23:03:54 -06:00
zephyr 1d4bad751c use the right source for move timer in dto 2024-02-03 23:01:32 -06:00
zephyr f7edcb2dc2 watch on game deadline, not game, for timer 2024-02-03 22:55:33 -06:00
zephyr a318c5457f debug time left 2024-02-03 22:51:21 -06:00
zephyr e588382794 broadcast game state when move timer expires 2024-02-03 22:48:23 -06:00
zephyr 5c37d6cd6f reduce queue timer
Fixes #13.
2024-02-03 22:40:56 -06:00
zephyr 61b6893ec4 remove stray console.log
Fixes #14.
2024-02-03 22:40:09 -06:00
zephyr 4e674348d5 edit challenger win message
Fixes #12.
2024-02-03 22:39:22 -06:00
zephyr c7ee3760ba implement player loses on move timer expires
Fixes #11.
2024-02-03 22:38:09 -06:00
zephyr a38bf9631f add indicator for move timer
For #11.
2024-02-03 22:29:17 -06:00
zephyr 36475c0a9b add local dev mode 2024-02-03 21:25:57 -06:00
zephyr 566de4066b skeleton move timer
For #11.
2024-02-03 21:11:09 -06:00
zephyr ae1cf18d6d remove players who drop from the queue 2024-02-03 15:39:59 -06:00
zephyr 1c0db61385 don't preserve items when shooting self with blank 2024-02-03 14:59:22 -06:00
zephyr e82899a209 title and favicon 2024-02-03 14:53:46 -06:00
zephyr 59c608cd8e don't need source locations in logging anymore 2024-02-03 14:47:43 -06:00
zephyr f1fac2b7e0 less verbose logging 2024-02-03 14:26:14 -06:00
zephyr a8ca8c0d33 show game over button for controls 2024-02-03 14:19:54 -06:00
zephyr 8c38174dad fix sense of game over 2024-02-03 14:17:51 -06:00
zephyr 668ea105f9 fix sense of my turn 2024-02-03 14:16:54 -06:00
zephyr 2cb683eafb hide controls when the game ends 2024-02-03 14:15:33 -06:00
zephyr b5ba169ce4 make hp bars always show 2024-02-03 14:13:23 -06:00
zephyr d8d38275f0 try again 2024-02-03 14:09:15 -06:00
zephyr 789dcd57f9 try again 2024-02-03 14:08:34 -06:00
zephyr 08afcdc573 try again 2024-02-03 14:07:32 -06:00
zephyr 104e4c3db0 try again 2024-02-03 14:06:03 -06:00
zephyr 702dfe63ac try again 2024-02-03 14:04:21 -06:00
zephyr acf1e14d7d try again 2024-02-03 14:02:54 -06:00
zephyr 240c4cbd13 try again 2024-02-03 13:55:44 -06:00
zephyr a04e9c3af3 try again to align things 2024-02-03 13:51:49 -06:00
zephyr a7563920fb show shells as a string 2024-02-03 13:48:24 -06:00
zephyr 27f872dda5 helps to refresh after making changes to the wobsite 2024-02-03 13:46:44 -06:00
zephyr 0b89773f57 why does the shell list never show 2024-02-03 13:44:22 -06:00
zephyr e2bdf3e23b fix cuffs 2024-02-03 13:42:56 -06:00
zephyr c6edf2a92c why does the shell list never show 2024-02-03 13:41:21 -06:00
zephyr aa95695a11 compute rather than watch shells list 2024-02-03 13:39:34 -06:00
zephyr 76195d21cb why do cuffs not work 2024-02-03 13:37:26 -06:00
zephyr 11eff6b755 remove game state logging 2024-02-03 13:20:19 -06:00
zephyr 29f9c66a6c add space above game leave button 2024-02-03 13:19:38 -06:00
zephyr 790005aeeb add button to leave the game 2024-02-03 13:15:31 -06:00
zephyr 90655f75d8 fix challenger win indicator sense 2024-02-03 13:07:50 -06:00
zephyr 46f7d04e2c fix many indicators 2024-02-03 13:02:19 -06:00
zephyr 9a02235eba only report match winners 2024-02-03 12:55:02 -06:00
zephyr 016d297f10 display messages according to game dto action 2024-02-03 12:39:32 -06:00
zephyr 21606cd3cd add game actions and winner to ts dto definition 2024-02-03 11:53:19 -06:00
zephyr 1068060e94 transmit game actions and winner in dto 2024-02-03 11:44:11 -06:00
zephyr 805fdb13c1 compress files 2024-02-03 10:21:06 -06:00
zephyr 438bcc5701 change the landing 2024-02-03 09:53:05 -06:00
zephyr b3eb9756f0 is it a magic object that can't be jsoned? 2024-02-03 09:37:59 -06:00
zephyr fde44f5b49 why did it send undefined, who sent undefined 2024-02-03 09:34:51 -06:00
zephyr 23b6ab5728 synchronize both player sockets on game start 2024-02-03 09:26:46 -06:00
zephyr 8f285a599f wait for hello before cancelling context 2024-02-02 21:33:50 -06:00
zephyr ec2480f48c don't heartbeat at all 2024-02-02 21:29:13 -06:00
zephyr 8f1fb96ac9 delete the test game 2024-02-02 21:25:21 -06:00
zephyr e27e0f571d sync with heartbeat reader 2024-02-02 21:18:03 -06:00
zephyr 30897827e4 ???? 2024-02-02 21:16:16 -06:00
zephyr 1eeb33e851 ???? 2024-02-02 21:13:16 -06:00
zephyr d2e9d6cf01 better ping handling 2024-02-02 21:07:30 -06:00
zephyr 5df96a5c33 don't read heartbeats with a context that expires 2024-02-02 21:05:19 -06:00
zephyr 9beb0c989e read heartbeats from queueing players 2024-02-02 20:48:45 -06:00
zephyr af9b287252 force game to clear on ws loss 2024-02-02 19:57:28 -06:00
zephyr da516b75f4 ping more often 2024-02-02 19:54:22 -06:00
zephyr 0be7629d9e did it explode because i got rid of the applicator 2024-02-02 19:47:26 -06:00
zephyr e8cdeda66a use a game as the game 2024-02-02 19:42:43 -06:00
zephyr c5c4559e08 really don't explode when watching an undefined game 2024-02-02 19:39:50 -06:00
zephyr 0221c7d15d don't explode when we watch a null game 2024-02-02 19:34:38 -06:00
zephyr 8bd7532160 send game state at start of match 2024-02-02 19:13:30 -06:00
zephyr ac214c0517 use dealer state 2024-02-02 19:12:56 -06:00
zephyr 9e66855dc6 ping on the wobseckot 2024-02-02 19:01:19 -06:00
zephyr b2618e1ba8 go home when game is gone 2024-02-02 18:54:10 -06:00
zephyr 167b6460f4 log received datas 2024-02-02 18:49:43 -06:00
zephyr 653fd061d0 don't tie game context to queue context 2024-02-02 18:43:10 -06:00
zephyr 66c37a655a don't log at debug 2024-02-02 18:40:57 -06:00
zephyr 2088a33b87 configurable sqlite dsn 2024-02-02 18:29:07 -06:00
zephyr f7f3e67417 websocket messages are json 2024-02-02 18:25:33 -06:00
zephyr 8e87ece54f do the wob seckot 2024-02-02 18:19:25 -06:00
zephyr 8343dc60c7 initialize server players map 2024-02-02 17:37:53 -06:00
zephyr 2314b61671 add logout button 2024-02-02 17:37:53 -06:00
zephyr 8a07105316 login on register 2024-02-02 13:14:00 -06:00
zephyr ca4823e80b get player id with middleware, not session 2024-02-02 13:03:05 -06:00
zephyr 438c70b41b actually serve public 2024-02-02 12:57:18 -06:00
zephyr 8eabde60fd serve public 2024-02-02 12:51:28 -06:00
zephyr 410d0fc587 add register and login to frontend 2024-02-02 08:28:36 -06:00