Commit Graph

39 Commits (bf3b341b69b3aac632db7f73a275375b74f375a6)

Author SHA1 Message Date
Bel LaPointe bf3b341b69 GameReset event 2024-12-15 14:17:07 -07:00
Bel LaPointe 54116131b3 stub GameReset event 2024-12-15 14:09:54 -07:00
Bel LaPointe 57dd66e510 impl first game reset but realize it must be an event to broadcast to all players 2024-12-15 14:06:08 -07:00
Bel LaPointe 706d55631b games.UserByName 2024-12-15 13:50:27 -07:00
Bel LaPointe 0b22ba4bd2 random name generation done 2024-12-15 13:41:57 -07:00
Bel LaPointe f7a303168a GameByName doesnt take uid 2024-12-15 13:26:28 -07:00
Bel LaPointe 8d73f97c3a bugfix if victim was targeting killer then killer cant target itself 2024-12-15 13:03:37 -07:00
Bel LaPointe 598cb0684c test UserGameState of freshly started game 2024-12-15 12:52:10 -07:00
Bel LaPointe f3f70e10f4 test UserGameServer unstarted state has all empty players 2024-12-15 12:39:36 -07:00
Bel LaPointe c1933dc180 sort ws tags 2024-12-15 12:03:21 -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 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 cb335639dd i think it is all todoed out 2024-12-15 02:43:59 -07:00
Bel LaPointe 5587467a2d PlayerState.Points() 2024-12-15 02:30: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 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