Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
285 commits
Select commit Hold shift + click to select a range
fef0e34
remove legality checks
samlyme Nov 1, 2025
1ed2703
add todo
samlyme Nov 1, 2025
6ed6684
working anim
samlyme Nov 1, 2025
7f8aefe
Revert "working anim"
samlyme Nov 1, 2025
0feaea0
we never needed the portals
samlyme Nov 1, 2025
95431f8
redo pseudo chess
samlyme Nov 2, 2025
6fb5c0a
working en passant
samlyme Nov 2, 2025
bf6e4a7
implement castling
samlyme Nov 2, 2025
0dea1fd
fully working psudo chess
samlyme Nov 2, 2025
1ec9317
add get method
samlyme Nov 4, 2025
01c254f
put container around BoardGame
samlyme Nov 4, 2025
5a9b4e4
working click to move
samlyme Nov 4, 2025
5c9c022
implement move options for drag move
samlyme Nov 4, 2025
145d28a
consistent style
samlyme Nov 4, 2025
1f92272
add todo
samlyme Nov 4, 2025
4e79cbb
implement isLegal
samlyme Nov 4, 2025
c183f29
fix funky UI states
samlyme Nov 4, 2025
c690857
remove logs
samlyme Nov 4, 2025
201c3c4
refactor and clean
samlyme Nov 4, 2025
e18aaff
refactor:
samlyme Nov 4, 2025
f586822
remove unused imports
samlyme Nov 4, 2025
24d03df
extract React.CSSProperties
samlyme Nov 4, 2025
ba4e0b9
move game logic
samlyme Nov 4, 2025
da27bd9
move game board component
samlyme Nov 4, 2025
cad3529
basic BidPanel structure
samlyme Nov 4, 2025
159caba
basic styling for BidPanel
samlyme Nov 4, 2025
e1ac58d
working promotion menu
samlyme Nov 5, 2025
c6a0e62
debug promo color
samlyme Nov 5, 2025
4479ac3
working pseudochess turns
samlyme Nov 7, 2025
261b4b0
open bid turn system
samlyme Nov 7, 2025
962a5dd
working bid panel
samlyme Nov 7, 2025
9c8a4cd
working bid menu and bid phase turns
samlyme Nov 7, 2025
5d96fe9
working bid logic
samlyme Nov 7, 2025
0f53665
working end game logic
samlyme Nov 8, 2025
aebf6d3
scuffed bgio implementation.
samlyme Nov 8, 2025
325cba5
setup tailwindcss with bun plugin
Leaversa Nov 8, 2025
58e0ffa
add bun plugin tailwind dependency
Leaversa Nov 8, 2025
17543ac
supabase init
samlyme Nov 8, 2025
df500ce
clean everything out
samlyme Nov 11, 2025
d705a30
update vscode settings to ignore json files
samlyme Nov 11, 2025
a5d6f7c
init bun web app
samlyme Nov 11, 2025
4614125
supabase auth
samlyme Nov 13, 2025
0e6957f
init edge functions
samlyme Nov 13, 2025
cef516d
update migrations
samlyme Nov 21, 2025
0d1434c
move shared
samlyme Nov 21, 2025
59d746c
basic routing
samlyme Nov 21, 2025
227d54b
basic flow
samlyme Nov 21, 2025
c6105b8
auth stateful redirect
samlyme Nov 22, 2025
b47e5ab
auth stages fragile
samlyme Nov 22, 2025
30ec591
remove hello world function
samlyme Nov 22, 2025
d7646f2
working auth flow
samlyme Nov 22, 2025
bb4a4c8
chore
samlyme Nov 22, 2025
72d9719
auth dev redirect
samlyme Nov 22, 2025
d9cc4cd
reduce session state churn
samlyme Nov 23, 2025
a9dca85
clean logs
samlyme Nov 23, 2025
7a78626
implement google oauth
samlyme Nov 23, 2025
5ae7e3b
add function invoke
samlyme Nov 23, 2025
31cb2fc
basic lobby create function
samlyme Nov 23, 2025
62ac9fd
more lobbies crud
samlyme Nov 23, 2025
29b028c
basic lobby logic
samlyme Nov 23, 2025
b2e3166
lmao
samlyme Nov 24, 2025
58bb738
chore
samlyme Nov 25, 2025
fe56465
update api service calls
samlyme Nov 25, 2025
409d4f4
shared package!
samlyme Nov 25, 2025
bfa4c49
big refactor
samlyme Nov 25, 2025
d843aa1
use prettier
samlyme Nov 25, 2025
721754a
format code
samlyme Nov 25, 2025
a7bb282
basic lobby real time
samlyme Nov 25, 2025
2070429
use shared package
samlyme Nov 25, 2025
b8a9c85
update context types
samlyme Nov 25, 2025
db28b41
refactor loby out of context
samlyme Nov 25, 2025
54b225d
working lobby updates
samlyme Nov 26, 2025
0a482b6
remove unecessary async
samlyme Nov 26, 2025
117024f
remove unecessary validation
samlyme Nov 26, 2025
08e77f0
implement default update
samlyme Nov 26, 2025
45d8a75
handle httpexceptions on backend
samlyme Nov 26, 2025
3e77004
haunted deno bs
samlyme Nov 26, 2025
a3a2351
lobby z types
samlyme Nov 26, 2025
c24fec0
update lobby type
samlyme Nov 26, 2025
4401eca
nullable get and single post
samlyme Nov 26, 2025
f6a867a
check for full lobby
samlyme Nov 26, 2025
5956fd6
make HTTPException type
samlyme Nov 26, 2025
403ead2
parse through http exception
samlyme Nov 26, 2025
77d8ad8
working external server
samlyme Nov 26, 2025
ceb8532
busted deno lmfao
samlyme Nov 26, 2025
3de88f5
redo with functions
samlyme Dec 2, 2025
3211bd3
implement start lobby
samlyme Dec 2, 2025
3b7de64
errors as types
samlyme Dec 2, 2025
ba608a5
update subscribe function
samlyme Dec 2, 2025
51595e8
--amend
samlyme Dec 2, 2025
8ca221e
ignore type checker
samlyme Dec 2, 2025
a139b3e
update gitignore
samlyme Dec 2, 2025
edb3324
extract server logic
samlyme Dec 2, 2025
498b659
extract backend url:
samlyme Dec 2, 2025
c80361d
test start server
samlyme Dec 2, 2025
34a5d86
impement delete event type
samlyme Dec 2, 2025
db43820
implement auction chess logic
samlyme Dec 2, 2025
38556f7
update lock file
samlyme Dec 2, 2025
a3c5f63
wip game logic
samlyme Dec 2, 2025
0216bf6
idk lmao
samlyme Dec 3, 2025
e1999f0
implement end lobby
samlyme Dec 3, 2025
f6fe049
implement game route:
samlyme Dec 3, 2025
ad93b22
install react chessboard:
samlyme Dec 3, 2025
14f5e15
basic auction chess gameplay
samlyme Dec 3, 2025
e963b4b
add notes and todo
samlyme Dec 3, 2025
505d060
create build step for edge functions
samlyme Dec 3, 2025
f4b366b
everything works
samlyme Dec 3, 2025
5ea6b16
clean imports
samlyme Dec 3, 2025
1447be7
remove minify from build process
samlyme Dec 3, 2025
de38f63
wip
samlyme Dec 18, 2025
46b56e9
fix delete lobby return type
samlyme Dec 18, 2025
812cc5b
working clean realtime
samlyme Dec 18, 2025
7149103
remove any type
samlyme Dec 18, 2025
f207d45
clean game updates
samlyme Dec 18, 2025
2d314c1
proper status 204 returns
samlyme Dec 18, 2025
a010243
improved styling
samlyme Dec 18, 2025
940339c
basic ux working!
samlyme Dec 18, 2025
f0cc511
balatro font
samlyme Dec 18, 2025
84931ab
update gitignore
samlyme Dec 23, 2025
1cf443d
implement package scripts
samlyme Dec 23, 2025
b138d93
install cloudflare vite plugin
samlyme Dec 23, 2025
29501ac
use host frontend on cloudflare
samlyme Dec 23, 2025
8252e3c
disable jwt at function level
samlyme Dec 23, 2025
8ef45aa
create backend dev script
samlyme Dec 23, 2025
48ccd3c
performance monitoring for middleware
samlyme Dec 23, 2025
79301bd
better dev script
samlyme Dec 23, 2025
26abbd5
better perf log formatting
samlyme Dec 23, 2025
59ac918
add timing headers
samlyme Dec 24, 2025
467f656
type safe RPC on client
samlyme Dec 25, 2025
70c1107
update cloudflare config
samlyme Dec 25, 2025
c364fa0
locally verify auth
samlyme Dec 25, 2025
e89e90d
move supabase def into index
samlyme Dec 25, 2025
557cab3
use signing keys
samlyme Dec 25, 2025
eb79aba
use local backend
samlyme Dec 25, 2025
0a5e2df
specify env vars
samlyme Dec 25, 2025
5be22b4
in memory lobby management
samlyme Dec 25, 2025
060f519
clean in memory state
samlyme Dec 25, 2025
3a17726
remove profile validation from game route
samlyme Dec 25, 2025
0735819
remove lobbies from db
samlyme Dec 25, 2025
5ed3e6a
remove seed data
samlyme Dec 25, 2025
04efca9
Digital ocean deployment
samlyme Dec 25, 2025
2315420
use bun package instead of docker
samlyme Dec 25, 2025
df5b132
update build and run scripts
samlyme Dec 25, 2025
0eb77d5
use digital ocean backend
samlyme Dec 25, 2025
b604ec8
unify configs
samlyme Dec 25, 2025
4734b88
chore: trigger deploy
samlyme Dec 26, 2025
c915dde
update client scripts
samlyme Dec 26, 2025
89d40d0
use Bun.serve to enable hot reload
samlyme Dec 26, 2025
00672d3
update server scripts
samlyme Dec 26, 2025
24030c4
update configs
samlyme Dec 26, 2025
875ba87
Deploy client 2025-12-25 17:41:13
samlyme Dec 26, 2025
9aa51df
update client deploy script
samlyme Dec 26, 2025
0a0b1af
Deploy client 2025-12-25 17:43:31
samlyme Dec 26, 2025
ae83fc1
update configs
samlyme Dec 26, 2025
d59c183
fix something
samlyme Dec 26, 2025
c9539a6
Deploy client 2025-12-25 20:11:25
samlyme Dec 26, 2025
f262056
update readme
samlyme Dec 26, 2025
cc1a930
Deploy client 2025-12-25 20:11:53
samlyme Dec 26, 2025
d98920e
make deploy-server script
samlyme Dec 26, 2025
135e2ea
wait for broadcast timer
samlyme Dec 26, 2025
c696287
add vite preview origin to auth redirect list
samlyme Dec 26, 2025
20f3ad4
add deploy-supabase script
samlyme Dec 26, 2025
6900a9d
move deployment scripts into directory
samlyme Dec 26, 2025
05d24b9
add deployment scripts to package.json
samlyme Dec 26, 2025
c866ca5
resolve merge conflict
samlyme Dec 26, 2025
2b2389d
resolve merge
samlyme Dec 26, 2025
e488920
auto accept incoming
samlyme Dec 26, 2025
67c9ef2
Deploy client 2025-12-25 21:14:14
samlyme Dec 26, 2025
0c44033
prelimiary documentation
samlyme Dec 26, 2025
ca9fcbd
draft 2
samlyme Dec 26, 2025
048e652
update README
samlyme Dec 26, 2025
b673cf1
move database types to server package
samlyme Dec 26, 2025
a1235e7
add database type gen to package.json
samlyme Dec 26, 2025
db3caf2
update import paths
samlyme Dec 26, 2025
2c6f0bf
use API profile type instead of database type
samlyme Dec 26, 2025
cf2c0d9
rename game_state to gameState
samlyme Dec 26, 2025
1a9e3ed
remove snake case
samlyme Dec 26, 2025
5340586
update CLUADE
samlyme Dec 26, 2025
88922fb
working serverside timer
samlyme Dec 26, 2025
d59bfcd
working clientside timer
samlyme Dec 26, 2025
d52d453
chore
samlyme Dec 26, 2025
c134d7e
client side timer accounts for time elapsed
samlyme Dec 26, 2025
fbb3675
update lobby config type to include gameConfig
samlyme Dec 26, 2025
8978ec9
server validates time used on move request
samlyme Dec 26, 2025
6ce5529
fix opponent timer
samlyme Dec 27, 2025
77f8645
working timer
samlyme Dec 27, 2025
d4eb6a5
new outcome type includes timeout
samlyme Dec 27, 2025
6e909b8
implement timecheck system
samlyme Dec 27, 2025
0c99639
implement ms timer
samlyme Dec 27, 2025
cb4714f
Deploy client 2025-12-26 17:17:21
samlyme Dec 27, 2025
fdd0eda
change default time to 5 minutes
samlyme Dec 27, 2025
cf500b8
remove MS from timer
samlyme Dec 27, 2025
7a50cc3
hotfix
samlyme Dec 27, 2025
d24f993
why is this happening
samlyme Dec 27, 2025
5279fb4
delete stale script
samlyme Dec 27, 2025
1d36f23
clean TODO's
samlyme Dec 27, 2025
1ac9cf9
add TODO
samlyme Dec 27, 2025
25eb14e
refactor game and lobby routes
samlyme Dec 27, 2025
2825406
make auctionChess stateless with immer
samlyme Dec 27, 2025
06df4dd
use raw objects for lobbies
samlyme Dec 27, 2025
ba48529
fix type errors due to immutabiity constraints
samlyme Dec 27, 2025
025bbbf
use put instead of patch
samlyme Dec 27, 2025
4f8db57
shadcn tailwind migration
samlyme Dec 28, 2025
5836f66
chore: update readme
samlyme Dec 29, 2025
813af70
implement file routing
samlyme Dec 30, 2025
8a995b9
idiomatic lobby ops
samlyme Dec 30, 2025
0dfbfa0
Revert "idiomatic lobby ops"
samlyme Dec 30, 2025
20aa5c5
refactor frontend, basic routing working
samlyme Dec 30, 2025
2083a64
fix routing
samlyme Dec 31, 2025
9b0bce9
oopsies
samlyme Dec 31, 2025
2a5e9c5
working clientside routing
samlyme Dec 31, 2025
4b0dde5
lol
samlyme Dec 31, 2025
c7641fb
delete functions
samlyme Jan 8, 2026
2e8a206
chore: clean
samlyme Jan 8, 2026
2a08523
Merge branch 'feat/url-join'
samlyme Jan 8, 2026
b2226f2
merge from main
samlyme Jan 8, 2026
63e4557
scaling ui box
samlyme Jan 8, 2026
efed194
chore: update vscode settings
samlyme Jan 8, 2026
4ccacb4
wokring basic theme
samlyme Jan 8, 2026
7f87076
move demo page to demo route
samlyme Jan 8, 2026
6342b94
where tf did those come from lol
samlyme Jan 8, 2026
4a91bf4
clean up Tailwind
samlyme Jan 8, 2026
46157a8
implement color scheme
samlyme Jan 8, 2026
897d535
implement demo
samlyme Jan 8, 2026
ff05ee2
janky first draft
samlyme Jan 8, 2026
87304be
working adjustment menu
samlyme Jan 9, 2026
a8cb4ec
working bid menu
samlyme Jan 9, 2026
2285546
delete old stuff
samlyme Jan 9, 2026
96f0888
basic routes
samlyme Jan 9, 2026
007bb82
add create lobby form
samlyme Jan 9, 2026
164c4b0
update lobby page
samlyme Jan 10, 2026
629e7d8
working bid panel
samlyme Jan 10, 2026
eceef59
phase indicator
samlyme Jan 10, 2026
4cec6bd
working game
samlyme Jan 10, 2026
a1ac033
working realtime
samlyme Jan 10, 2026
cf2128b
working timers
samlyme Jan 11, 2026
00ff41e
end game sets gamestate to null
samlyme Jan 11, 2026
58065ea
first move does not start timer
samlyme Jan 11, 2026
8b5551f
add note
samlyme Jan 11, 2026
c15690e
strange timer
samlyme Jan 11, 2026
b002c43
fix early return
samlyme Jan 11, 2026
c69105c
working timers
samlyme Jan 12, 2026
c359593
fix state initial value
samlyme Jan 12, 2026
07eb31f
working frontend
samlyme Jan 12, 2026
e955485
add redirect out of home when lobby exists
samlyme Jan 12, 2026
97e1128
move home cards around
samlyme Jan 12, 2026
ec23e9a
add settings page
samlyme Jan 12, 2026
7a6e86f
implement signin with google
samlyme Jan 12, 2026
f95a223
broadcast game update after lboby start
samlyme Jan 12, 2026
f57c7c2
change default game state
samlyme Jan 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<<<<<<< HEAD
# EditorConfig is awesome: https://editorconfig.org

root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true

[*.{js,jsx,ts,tsx,json,yaml,yml}]
indent_size = 2

[*.md]
indent_size = 4

[*.py]
indent_size = 4
=======
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab
>>>>>>> main
42 changes: 41 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,44 @@
# dependencies (bun install)
node_modules

# output
out
dist
*.tgz

# code coverage
coverage
*.lcov

# logs
logs
_.log
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json

# dotenv environment variable files
.env.development.local
.env.test.local
.env.production.local
.env.local

# caches
.eslintcache
.cache
*.tsbuildinfo
.deno-cache

# IntelliJ based IDEs
.idea

# JWT Signing keys
signing_keys.json

# Finder (MacOS) folder config
.DS_Store
<<<<<<< HEAD
.env
*.o
__pycache__
__pycache__
**.egg-info
=======
>>>>>>> main
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"semi": true,
"singleQuote": false,
"tabWidth": 2
}
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["denoland.vscode-deno"]
}
21 changes: 19 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
{
"python.analysis.autoImportCompletions": true
}
"[typescript]": {
// "editor.defaultFormatter": "denoland.vscode-deno"
},
"eslint.enable": false,
"files.watcherExclude": {
"**/routeTree.gen.ts": true
},
"search.exclude": {
"**/routeTree.gen.ts": true
},
"files.readonlyInclude": {
"**/routeTree.gen.ts": true
},
"json.validate.enable": false,

"files.associations": {
"*.css": "tailwindcss"
},
}
Loading