Commit Graph

466 Commits (56f3cce415f8efef0310a9a4e81f4bf4efc98094)
 

Author SHA1 Message Date
noah metz d5c1340555 Update test page 2023-06-16 18:29:38 -06:00
noah metz bd9edb19ee Added subscription to arena 2023-06-16 18:27:03 -06:00
noah metz 6715bcbf01 More buttons 2023-06-16 17:45:10 -06:00
noah metz 353b54757d Button finally transisitons game over GQL 2023-06-16 17:42:49 -06:00
noah metz 76cea43d9b Made subscription a bit more robust 2023-06-16 17:20:16 -06:00
noah metz bfcf06b190 Added basic ws subscription 2023-06-16 16:53:29 -06:00
noah metz 5f5916010d Remove contents of h1 tag, and print random active game id to console 2023-06-16 02:20:54 -06:00
noah metz ed5403b8ec Added empty else to GQLHandler websocket loop 2023-06-16 02:20:07 -06:00
noah metz 7a1e11c1f2 Better logging for gqlws, and added test-site 2023-06-16 01:59:01 -06:00
noah metz 9eb4d7f699 Added basic subscription(never updates data, only pings. Having issue with test-site since it continuously opens websockets without reporting an issue. 2023-06-16 01:46:15 -06:00
noah metz 4d26ed73dd Updated GQL to have node interface and type, and resource to have owner property that returns this 2023-06-13 15:29:23 -06:00
noah metz 4a6edade74 Fixed GQLVexQueryArenas 2023-06-13 14:23:33 -06:00
noah metz d5954d2860 Updated GQL, fixed manager, and added queries/mutations 2023-06-13 14:10:59 -06:00
noah metz 230f4a88eb Added control state and game state to Match graphql 2023-06-08 16:48:28 -06:00
noah metz be2e227a1d Added updateEvent to event tree and tested cancelling the event over graphql 2023-06-08 16:41:51 -06:00
noah metz fd144eea02 Added arena to gql 2023-06-08 00:36:16 -06:00
noah metz 9e2ca6907a Added team and alliances to gql_vex.go 2023-06-08 00:19:55 -06:00
noah metz 77eb76bc9c Added vex match as module for gql node 2023-06-07 23:01:06 -06:00
noah metz a403ea82cb Moved gql node to own file 2023-06-07 22:46:42 -06:00
noah metz 531676c5c3 Fixed bug and typo 2023-06-07 22:38:02 -06:00
noah metz 592bf387f4 Moved gql types to functions 2023-06-07 22:30:06 -06:00
noah metz a42104883c Moved from relay to custom handler with context for gql 2023-06-07 21:59:56 -06:00
noah metz 34cc51d4c8 Added basic gql handler 2023-06-07 20:51:53 -06:00
noah metz 8284c77cfe Added abort on syscall signals 2023-06-07 16:27:45 -06:00
noah metz 75d0eb0396 Created GQL resource which will act as a graphql server for the attached node and all nodes under it 2023-06-07 00:36:40 -06:00
noah metz 2d31daa916 Made cancel and abort handlers instead of abort being a special signal type 2023-06-06 23:04:49 -06:00
noah metz 3605e3ee37 Added graphql library 2023-06-06 20:01:44 -06:00
noah metz 7e8045ce39 Renamd Resource.Connect to Resource.Init 2023-06-06 16:53:33 -06:00
noah metz bfd295b3db Memory and CPU profiling 2023-06-04 17:23:49 -06:00
noah metz cdc682f844 mend 2023-06-04 14:15:26 -06:00
noah metz a34df43d35 Updated main.go to have 2 divisions in an event, and fixed event.go to check child.Parent() instead of event.Parent() 2023-06-04 14:15:01 -06:00
noah metz 00abdc8b1c Moved logging to a global object that's initialized on first log call 2023-06-04 13:18:10 -06:00
noah metz 0f92de1619 Moved wait action to a closure generator instead of using a non-pointer closure that didn't pickup any event changes 2023-06-03 23:49:25 -06:00
noah metz debeed7091 Updated fake client so that it runs the fake event in main.go 2023-06-03 21:27:20 -06:00
noah metz 08eb543af0 Fixed tests 2023-06-03 18:56:14 -06:00
noah metz 9342169281 Removed extra handlers from event.go and renamed arena_connected to resource_connected 2023-06-03 10:59:42 -06:00
noah metz 301dbb6b94 Added Trace to signal so that nodes can discard based on direction 2023-06-03 02:45:16 -06:00
noah metz a43310daad Updated go.mod 2023-06-03 02:08:40 -06:00
noah metz 3f7d452954 Added WaitForValue test function 2023-06-03 02:07:16 -06:00
noah metz f6a36f9028 Added call to resource update in arena update 2023-06-03 01:54:14 -06:00
noah metz f838f53dda Basic vex Match 2023-06-03 01:38:35 -06:00
noah metz 0085a71142 Updated manager_test.go to run faster 2023-06-02 17:39:28 -06:00
noah metz 02aa464af2 Removed extra update send in unlock 2023-06-02 17:34:35 -06:00
noah metz b5db5f53b5 fix 2023-06-02 17:33:10 -06:00
noah metz c467e267ed Removed trace log statements for locking. Need to add configurable log levels and categories to make debugging/developing better. 2023-06-02 17:32:40 -06:00
noah metz 100a5f8f2e Moved class methods to package methods. Updated graph once again 2023-06-02 17:31:29 -06:00
noah metz 55d977e9b8 Updated listener to have explicit unregister. Cleanup of initializers. More stuff I don't remember. 2023-06-01 22:42:47 -06:00
noah metz d7b13de82f Updated tests and fixed updates before/after locking/unlocking 2023-06-01 13:48:38 -06:00
noah metz 990b93757f Added virtual arena that responds to signals on a channel, cleaned up log messages, and fixed update() hierarchy 2023-06-01 13:11:32 -06:00
noah metz 26a2a63d83 Removed graphql dependency 2023-05-31 00:37:51 -06:00