Commit Graph

48 Commits

Author SHA1 Message Date
sepia 26e199375f Add build command to justfile 2025-07-24 14:47:43 -05:00
sepia 034a9d3909 Gracefully handle reconnection when player disconnects from a game. Redirect players to game URL when they visit / without a gameId 2025-07-23 21:47:15 -05:00
sepia 9334ae12ce Fix styling on larger screens 2025-07-23 21:29:43 -05:00
sepia 4e4ae150a2 Format 2025-07-23 21:22:58 -05:00
sepia 6903784136 Restyle buttons 2025-07-23 21:22:45 -05:00
sepia f11b4c935f Format 2025-07-23 21:07:18 -05:00
sepia a55f0890ce Add last move highlight 2025-07-23 21:07:07 -05:00
sepia d70bb80c39 Fix styling on small screens 2025-07-23 20:53:27 -05:00
sepia b8e880cd29 Remove flag names and default to 'New Player' 2025-07-23 20:04:27 -05:00
sepia 0faf0b04bc Persist player display names 2025-07-23 19:42:04 -05:00
sepia 734b01ea5d Add default flag emoji display names 2025-07-23 19:31:41 -05:00
sepia bc45f3a604 Add name editing. Add icons for all buttons. 2025-07-23 16:50:35 -05:00
sepia 02d777c364 Remove an old debug log 2025-07-23 15:13:55 -05:00
sepia 6ecf0388bb Move copy link button to button box 2025-07-23 15:13:36 -05:00
sepia 5385f7be04 Silence errors when handle-redirects sees a message that was meant for someone else 2025-07-23 15:13:22 -05:00
sepia 74bb200f8f Refactor button box code a bit, and fix color of copy game link icon 2025-07-23 15:03:19 -05:00
sepia e8bfdaaa30 Refactor request messages 2025-07-22 20:58:13 -05:00
sepia 904a9f973f Add cancellation buttons for draw, rematch, takeback requests 2025-07-22 20:47:05 -05:00
sepia 2f46d86947 Add draw requests and rematches 2025-07-22 20:44:06 -05:00
sepia 1a221bf680 Add takeback button 2025-07-22 19:06:12 -05:00
sepia 3093754bd4 Add resign button 2025-07-21 22:54:03 -05:00
sepia 10a4bd64d2 Huge refactor of web-socket-handler 2025-07-21 22:19:59 -05:00
sepia f68a8d152f Remove websocket status indicator 2025-07-20 19:55:23 -05:00
sepia ae3a9acffa Make title box win screen a little prettier 2025-07-20 19:53:01 -05:00
sepia c04a4a40b0 Minor refactor 2025-07-20 19:51:41 -05:00
sepia 6bb62b9c87 Improve title box with turn indicator 2025-07-20 19:50:33 -05:00
sepia 7cbeef6482 Format 2025-07-20 17:44:21 -05:00
sepia 2aa8ee78a9 Fix bug where title box always indicated that the game was ongoing 2025-07-20 17:44:14 -05:00
sepia d3800345e5 Mess with colors 2025-07-20 17:41:24 -05:00
sepia 605c111c73 Style the title box 2025-07-20 16:16:28 -05:00
sepia c112fa99cf Restyle look and feel of the copy game link button 2025-07-20 13:06:00 -05:00
sepia badbe1f749 Style adjustments 2025-07-19 22:17:35 -05:00
sepia f1d64ecdf3 Render stones at grid intersections instead of inside cells 2025-07-19 21:58:49 -05:00
sepia d60357904b Rename files to kebab-case 2025-07-19 21:45:57 -05:00
sepia 10c0f38df0 Fix websocket connection indicator 2025-07-19 21:45:48 -05:00
sepia 742bd4f106 Reformat 2025-07-19 18:34:53 -05:00
sepia 1f19022d45 Preference-based refactoring 2025-07-19 18:34:45 -05:00
sepia cd21e4e8bd Refactor index.html to use separate files for scripts and style 2025-07-18 18:34:50 -05:00
sepia 6baa194e5b Delete outdated ARCHITECTURE.md file, and unused old favicon 2025-07-18 12:13:59 -05:00
sepia 7d124d1ae9 Fix favicon 2025-07-18 12:13:34 -05:00
sepia 6e46c5a284 Change title 2025-07-18 12:13:06 -05:00
sepia 8eabbe3211 Refactor frontend to use HTMX, and do most rendering serverside 2025-07-18 00:04:32 -05:00
sepia d1dbebcc39 Make game fully playable with two players 2025-07-15 21:23:16 -05:00
sepia 8b7d40b6f8 Make the game joinable in two sessions 2025-07-15 20:32:14 -05:00
sepia e984172918 Add dist/ to .gitignore, and prevent new games from having a broken gameId 2025-07-15 18:10:22 -05:00
sepia e8e982c3d6 Get the client to a point where it at least renders the board 2025-07-15 18:07:48 -05:00
sepia 3be0c40b64 Add GameStateManager and WebSocketClient 2025-07-15 16:17:59 -05:00
sepia c15c9c16c8 init 2025-07-15 12:13:17 -05:00