Commit Graph

65 Commits

Author SHA1 Message Date
Bel LaPointe
2c3e870750 ugs aliases game state, shorter help sentences 2024-12-15 11:09:25 -07:00
Bel LaPointe
c3e9c18e95 refactor 2024-12-15 11:06:13 -07:00
Bel LaPointe
39c9eae7ad ugs.more blocks until event arrives 2024-12-15 11:05:39 -07:00
Bel LaPointe
0d44fd56ed extract reading from websocket into UserGameServer 2024-12-15 11:01:48 -07:00
Bel LaPointe
51006c7946 total coverage of db and games naisu 2024-12-15 10:49:33 -07:00
Bel LaPointe
94d3d97645 test fill 2024-12-15 10:23:13 -07:00
Bel LaPointe
eb3a30ec8a test hangs due to fill inf looping 2024-12-15 10:19:04 -07:00
Bel LaPointe
6340469d53 killing them 200 line functions one at a time 2024-12-15 09:55:08 -07:00
Bel LaPointe
d05ab6d0ec killing does not change assignment 2024-12-15 09:51:40 -07:00
Bel LaPointe
ae593bc092 refactor making new AllKillWords just without assignees and now 2024-12-15 09:50:34 -07:00
Bel LaPointe
ff5071215a functional looking 2024-12-15 09:49:09 -07:00
Bel LaPointe
b9d06f81ba functional looking 2024-12-15 09:47:11 -07:00
Bel LaPointe
51c7cc4496 sh 2024-12-15 09:46:21 -07:00
Bel LaPointe
d7e4196f61 refactorinnng 2024-12-15 09:44:13 -07:00
Bel LaPointe
c18f154328 refacotr picking unused word out of AssignmentRotation body 2024-12-15 09:24:04 -07:00
Bel LaPointe
8d9815ee90 games.go tested 2024-12-15 09:11:17 -07:00
Bel LaPointe
1e25ef7a98 ws only computes game state if events since last time 2024-12-15 08:51:12 -07:00
Bel LaPointe
d1c4738796 GameState uses GameEvents 2024-12-15 08:49:43 -07:00
Bel LaPointe
1c6025e78c refactor to share 2024-12-15 08:44:51 -07:00
Bel LaPointe
52aad4008c add GET/v1/state/XYZ 2024-12-15 02:50:42 -07:00
Bel LaPointe
808266d9c9 todo 2024-12-15 02:47:51 -07:00
Bel LaPointe
a99cb0e102 todo numbah one is TEST 2024-12-15 02:47:01 -07:00
Bel LaPointe
ba21848373 todo 2024-12-15 02:46:46 -07:00
Bel LaPointe
cb335639dd i think it is all todoed out 2024-12-15 02:43:59 -07:00
Bel LaPointe
264b165f1c o i think that looks like everything but is hard to tell 2024-12-15 02:36:18 -07:00
Bel LaPointe
5587467a2d PlayerState.Points() 2024-12-15 02:30:44 -07:00
Bel LaPointe
2a635bc8b5 compiles 2024-12-15 02:26:52 -07:00
Bel LaPointe
62df483665 err on err 2024-12-15 02:22:44 -07:00
Bel LaPointe
ceff02789a HELP msg always 2024-12-15 02:22:18 -07:00
Bel LaPointe
67ff6284bf W TAGS 2024-12-15 02:17:55 -07:00
Bel LaPointe
8115bdf3ff page=B events=B ezpz w tags 2024-12-15 02:17:43 -07:00
Bel LaPointe
b9392a38e2 page=B events=B ezpz 2024-12-15 02:16:44 -07:00
Bel LaPointe
0a944f3b0a tests pass again 2024-12-15 02:12:50 -07:00
Bel LaPointe
f17328a9ee games passes test 2024-12-15 01:58:40 -07:00
Bel LaPointe
130f8122b6 complete game pls 2024-12-15 01:45:25 -07:00
Bel LaPointe
9dd661ecd0 naisu test 2024-12-15 01:41:22 -07:00
Bel LaPointe
39b1a6a1e8 a test! 2024-12-15 01:15:36 -07:00
Bel LaPointe
659bf0f559 impl more 2024-12-15 00:48:47 -07:00
Bel LaPointe
58904c8619 if rw.Lock then no need for nested rw.RLock 2024-12-15 00:45:27 -07:00
Bel LaPointe
78511f25f3 gitignores missed 2024-12-15 00:42:17 -07:00
bel
e0080a638c create event assignment rotation TODO 2024-12-15 00:05:24 -07:00
bel
76f6896d53 stub create events 2024-12-14 23:48:59 -07:00
bel
6b3d4f0bc6 assignmentRotation impl 2024-12-14 23:45:47 -07:00
bel
15118df95c gitignore 2024-12-14 23:41:28 -07:00
bel
0aefff5b82 todo last event is big one 2024-12-14 23:25:08 -07:00
bel
306295ba1c games inits itself 2024-12-14 21:37:57 -07:00
bel
f40fdd60da games struct stubbed 2024-12-14 21:36:08 -07:00
bel
81af991c58 locking 2024-12-14 21:32:39 -07:00
bel
e85ce38e50 db.Query and db.Exec 2024-12-14 21:19:04 -07:00
Bel LaPointe
1e42085ce6 whee sqlite 2024-12-14 20:57:28 -07:00