Geoffrey Allott [Sun, 13 Aug 2023 11:50:26 +0000 (12:50 +0100)]
reword notify_keyspace_events_enabled
Geoffrey Allott [Sun, 13 Aug 2023 11:29:35 +0000 (12:29 +0100)]
update deps
Geoffrey Allott [Sun, 13 Aug 2023 11:29:06 +0000 (12:29 +0100)]
format invalid-input with a red background
Geoffrey Allott [Wed, 9 Aug 2023 17:59:45 +0000 (18:59 +0100)]
accept more datetime formats
Geoffrey Allott [Wed, 9 Aug 2023 17:59:31 +0000 (18:59 +0100)]
update deps
Geoffrey Allott [Sat, 5 Aug 2023 09:22:34 +0000 (10:22 +0100)]
remove expired certs
Geoffrey Allott [Fri, 4 Aug 2023 20:02:58 +0000 (21:02 +0100)]
fix clippy warnings
Geoffrey Allott [Fri, 4 Aug 2023 19:49:51 +0000 (20:49 +0100)]
Check for notify-keyspace-events and warn if it is not enabled. Don't worry about corner cases (e.g. lists enabled for keyspace events but not strings)
Geoffrey Allott [Fri, 4 Aug 2023 19:23:18 +0000 (20:23 +0100)]
update deps
Geoffrey Allott [Fri, 4 Aug 2023 19:22:35 +0000 (20:22 +0100)]
clean up all warnings
Geoffrey Allott [Sun, 30 Jul 2023 20:11:09 +0000 (21:11 +0100)]
update deps
Geoffrey Allott [Sun, 30 Jul 2023 19:19:08 +0000 (20:19 +0100)]
remove chatroom from main menu
Geoffrey Allott [Sun, 2 Jul 2023 21:48:12 +0000 (22:48 +0100)]
score final pairs/runs correctly when a player plays his last card while other players have passed
Geoffrey Allott [Sun, 2 Jul 2023 21:46:18 +0000 (22:46 +0100)]
fix display of active player when a player plays his last card while other players have passed
Geoffrey Allott [Sun, 2 Jul 2023 20:49:40 +0000 (21:49 +0100)]
update deps
Geoffrey Allott [Sun, 2 Jul 2023 20:49:05 +0000 (21:49 +0100)]
handle case where (1) a player plays his last card (2) all other players have passed (3) there is no other score other than 1 for a go
Geoffrey Allott [Wed, 28 Jun 2023 06:41:43 +0000 (07:41 +0100)]
update deps
Geoffrey Allott [Wed, 28 Jun 2023 06:38:24 +0000 (07:38 +0100)]
make animation a bit smoother
Geoffrey Allott [Tue, 27 Jun 2023 21:54:21 +0000 (22:54 +0100)]
use "slice" for "preserveAspectRatio" to achieve desired effect on all browsers
Geoffrey Allott [Sat, 17 Jun 2023 22:27:41 +0000 (23:27 +0100)]
show main menu as background to initial login; show splash screen upon press of close button in login screen
Geoffrey Allott [Sat, 17 Jun 2023 22:20:07 +0000 (23:20 +0100)]
run cargo fmt
Geoffrey Allott [Sat, 17 Jun 2023 22:18:29 +0000 (23:18 +0100)]
add opengraph tags and image
Geoffrey Allott [Sat, 17 Jun 2023 21:46:02 +0000 (22:46 +0100)]
add favicon
Geoffrey Allott [Sat, 17 Jun 2023 21:15:51 +0000 (22:15 +0100)]
knock out players correctly upon cut for call; make sure order of players knocked out is deterministic by knocking out the lowest username first
Geoffrey Allott [Sat, 17 Jun 2023 18:34:56 +0000 (19:34 +0100)]
make suit transform cleaner and add animation
Geoffrey Allott [Sat, 17 Jun 2023 18:14:08 +0000 (19:14 +0100)]
display scores on outside of table for cribbage
Geoffrey Allott [Sat, 17 Jun 2023 17:57:22 +0000 (18:57 +0100)]
add logo to login screen; add back button to login screen; clear login details upon login
Geoffrey Allott [Sat, 17 Jun 2023 16:08:15 +0000 (17:08 +0100)]
rendering tweaks
Geoffrey Allott [Sat, 17 Jun 2023 15:17:33 +0000 (16:17 +0100)]
show splash screen on logout
Geoffrey Allott [Sat, 17 Jun 2023 15:08:08 +0000 (16:08 +0100)]
use font for splash screen logo
Geoffrey Allott [Sat, 17 Jun 2023 12:56:46 +0000 (13:56 +0100)]
update deps
Geoffrey Allott [Sat, 17 Jun 2023 12:49:50 +0000 (13:49 +0100)]
implement card waves for splash screen and tweak visuals
Geoffrey Allott [Sat, 17 Jun 2023 10:51:30 +0000 (11:51 +0100)]
add simple splash screen
Geoffrey Allott [Fri, 16 Jun 2023 20:24:39 +0000 (21:24 +0100)]
use create_svg_element in winner.js
Geoffrey Allott [Fri, 16 Jun 2023 18:01:49 +0000 (19:01 +0100)]
remove debug prints
Geoffrey Allott [Fri, 16 Jun 2023 18:00:28 +0000 (19:00 +0100)]
make trumps selection much larger when needed to make it easier to click
Geoffrey Allott [Fri, 16 Jun 2023 17:27:36 +0000 (18:27 +0100)]
fix some visual glitches
Geoffrey Allott [Fri, 16 Jun 2023 17:19:35 +0000 (18:19 +0100)]
make card icons large so they are more easily clickable
Geoffrey Allott [Fri, 16 Jun 2023 16:58:44 +0000 (17:58 +0100)]
add cribbage logo
Geoffrey Allott [Wed, 14 Jun 2023 18:48:02 +0000 (19:48 +0100)]
check only nonempty hands to see if all players have passed
Geoffrey Allott [Wed, 14 Jun 2023 18:47:30 +0000 (19:47 +0100)]
add a full 3-player cribbage game test case
Geoffrey Allott [Wed, 14 Jun 2023 10:54:27 +0000 (11:54 +0100)]
fix player_after bugs
Geoffrey Allott [Wed, 14 Jun 2023 10:39:02 +0000 (11:39 +0100)]
ignore vim swapfiles
Geoffrey Allott [Wed, 14 Jun 2023 10:37:43 +0000 (11:37 +0100)]
deal 5 cards for 3 and 4-player cribbage
Geoffrey Allott [Wed, 14 Jun 2023 10:28:31 +0000 (11:28 +0100)]
share more code between cribbage, whist and poker
Geoffrey Allott [Mon, 12 Jun 2023 20:54:01 +0000 (21:54 +0100)]
anonymise card dealt to box, even for the dealer
Geoffrey Allott [Mon, 12 Jun 2023 20:39:16 +0000 (21:39 +0100)]
default to last 24 hours
Geoffrey Allott [Thu, 8 Jun 2023 08:19:24 +0000 (09:19 +0100)]
turn over pegging cards
Geoffrey Allott [Thu, 8 Jun 2023 08:18:59 +0000 (09:18 +0100)]
handle dealer PutInBox correctly
Geoffrey Allott [Wed, 7 Jun 2023 23:25:04 +0000 (00:25 +0100)]
remove unneeded import
Geoffrey Allott [Wed, 7 Jun 2023 23:24:08 +0000 (00:24 +0100)]
update deps
Geoffrey Allott [Wed, 7 Jun 2023 23:23:53 +0000 (00:23 +0100)]
run cargo fmt
Geoffrey Allott [Wed, 7 Jun 2023 23:22:27 +0000 (00:22 +0100)]
remove unused
Geoffrey Allott [Wed, 7 Jun 2023 23:21:06 +0000 (00:21 +0100)]
update cribbage scoring display to be more clear about the reason a hand was scored
Geoffrey Allott [Wed, 7 Jun 2023 22:42:15 +0000 (23:42 +0100)]
fix a bunch of issues with cribbage site
Geoffrey Allott [Wed, 7 Jun 2023 22:41:56 +0000 (23:41 +0100)]
show a different error message when taking an invalid action while choosing to put in box
Geoffrey Allott [Wed, 7 Jun 2023 21:52:57 +0000 (22:52 +0100)]
toggle active based on which player is active
Geoffrey Allott [Wed, 7 Jun 2023 21:43:14 +0000 (22:43 +0100)]
add ChaCha8 rng with better properties
Geoffrey Allott [Mon, 5 Jun 2023 20:21:44 +0000 (21:21 +0100)]
impl Debug for CardSet
Geoffrey Allott [Mon, 5 Jun 2023 00:01:01 +0000 (01:01 +0100)]
rename to fifty_two_card_deck
Geoffrey Allott [Sun, 4 Jun 2023 23:58:37 +0000 (00:58 +0100)]
implement a compact CardSet to replace HashSet<Card>
Geoffrey Allott [Sun, 4 Jun 2023 22:45:31 +0000 (23:45 +0100)]
add table and felt to cribbage
Geoffrey Allott [Sun, 4 Jun 2023 22:43:02 +0000 (23:43 +0100)]
add two tests with complete cribbage games
Geoffrey Allott [Sun, 4 Jun 2023 22:28:30 +0000 (23:28 +0100)]
add cribbage game to site
Geoffrey Allott [Sun, 4 Jun 2023 21:36:43 +0000 (22:36 +0100)]
fix scoring error when reaching 31
Geoffrey Allott [Sun, 4 Jun 2023 16:41:23 +0000 (17:41 +0100)]
anonymise PutInBox action
Geoffrey Allott [Thu, 1 Jun 2023 22:48:14 +0000 (23:48 +0100)]
add another game example for whist
Geoffrey Allott [Thu, 1 Jun 2023 22:39:11 +0000 (23:39 +0100)]
implement two for his heels
Geoffrey Allott [Thu, 1 Jun 2023 21:26:01 +0000 (22:26 +0100)]
fix revealing of box cards
Geoffrey Allott [Wed, 31 May 2023 21:53:27 +0000 (22:53 +0100)]
fix some issues with cribbage scoring
Geoffrey Allott [Sun, 28 May 2023 21:39:10 +0000 (22:39 +0100)]
integrate cribbage into back end, add a first simple test
Geoffrey Allott [Sun, 28 May 2023 20:35:01 +0000 (21:35 +0100)]
finish initial implementation of cribbage
Geoffrey Allott [Sun, 28 May 2023 10:24:39 +0000 (11:24 +0100)]
show chatrooms in white
Geoffrey Allott [Sun, 28 May 2023 10:24:25 +0000 (11:24 +0100)]
show commands with set -x
Geoffrey Allott [Sat, 27 May 2023 21:11:09 +0000 (22:11 +0100)]
apply rustfmt fixes
Geoffrey Allott [Sat, 27 May 2023 21:10:06 +0000 (22:10 +0100)]
apply clippy fixes
Geoffrey Allott [Sat, 27 May 2023 21:03:44 +0000 (22:03 +0100)]
add package script
Geoffrey Allott [Sat, 27 May 2023 21:01:45 +0000 (22:01 +0100)]
default last_filter to something sensible
Geoffrey Allott [Sat, 27 May 2023 20:35:26 +0000 (21:35 +0100)]
fix scroll-to-bottom by suppressing scroll events for 1/2 a second
Geoffrey Allott [Sat, 27 May 2023 17:03:35 +0000 (18:03 +0100)]
use new created_in_last filter
Geoffrey Allott [Sat, 27 May 2023 16:43:15 +0000 (17:43 +0100)]
add timestamp filter "created_in_last"
Geoffrey Allott [Sat, 27 May 2023 14:01:19 +0000 (15:01 +0100)]
handle NewBlinds messages in chat; hide dealer chip when there is no dealer; fix some but not all issues with buttons being active at incorrect times
Geoffrey Allott [Sat, 27 May 2023 13:59:28 +0000 (14:59 +0100)]
fix some more issues with betting
Geoffrey Allott [Fri, 26 May 2023 21:43:27 +0000 (22:43 +0100)]
update deps
Geoffrey Allott [Fri, 26 May 2023 21:42:52 +0000 (22:42 +0100)]
add dealer chip
Geoffrey Allott [Fri, 26 May 2023 21:42:35 +0000 (22:42 +0100)]
fix bug when betting is completed by the blinds
Geoffrey Allott [Fri, 26 May 2023 20:02:59 +0000 (21:02 +0100)]
style adjustments
Geoffrey Allott [Wed, 24 May 2023 21:26:51 +0000 (22:26 +0100)]
s/Bets 0/Checks
Geoffrey Allott [Wed, 24 May 2023 21:24:10 +0000 (22:24 +0100)]
layout improvements
Geoffrey Allott [Wed, 24 May 2023 21:23:45 +0000 (22:23 +0100)]
save auth and game when refreshing the page
Geoffrey Allott [Sat, 20 May 2023 21:05:30 +0000 (22:05 +0100)]
remove unused
Geoffrey Allott [Sat, 20 May 2023 21:04:53 +0000 (22:04 +0100)]
relocate betting controls to bottom
Geoffrey Allott [Sat, 20 May 2023 19:50:05 +0000 (20:50 +0100)]
break out bet controls into a separate class
Geoffrey Allott [Sat, 20 May 2023 13:41:16 +0000 (14:41 +0100)]
update deps
Geoffrey Allott [Thu, 30 Mar 2023 21:13:32 +0000 (22:13 +0100)]
update deps
Geoffrey Allott [Mon, 20 Mar 2023 22:03:06 +0000 (22:03 +0000)]
update deps
Geoffrey Allott [Sat, 29 Oct 2022 10:06:53 +0000 (11:06 +0100)]
update deps
Geoffrey Allott [Fri, 28 Oct 2022 18:54:18 +0000 (19:54 +0100)]
update deps
Geoffrey Allott [Wed, 20 Jul 2022 20:02:34 +0000 (21:02 +0100)]
update deps
Geoffrey Allott [Wed, 20 Jul 2022 20:02:26 +0000 (21:02 +0100)]
fix clippy hints