{"id":23291535,"url":"https://github.com/guycole/daring-chupacabra","last_synced_at":"2025-10-16T13:18:26.844Z","repository":{"id":54335939,"uuid":"514670940","full_name":"guycole/daring-chupacabra","owner":"guycole","description":"discrete event simulator","archived":false,"fork":false,"pushed_at":"2024-02-02T06:24:52.000Z","size":14238,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T23:49:05.444Z","etag":null,"topics":["discrete-event-simulation","go","golang","grpc","grpc-go","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guycole.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-16T19:45:35.000Z","updated_at":"2023-12-23T01:36:02.000Z","dependencies_parsed_at":"2024-12-20T05:18:31.562Z","dependency_job_id":"ce559692-73a8-4bd7-b043-19bfea4b30f1","html_url":"https://github.com/guycole/daring-chupacabra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Fdaring-chupacabra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Fdaring-chupacabra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Fdaring-chupacabra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Fdaring-chupacabra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guycole","download_url":"https://codeload.github.com/guycole/daring-chupacabra/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247526677,"owners_count":20953141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discrete-event-simulation","go","golang","grpc","grpc-go","kubernetes"],"created_at":"2024-12-20T05:18:21.880Z","updated_at":"2025-10-16T13:18:21.797Z","avatar_url":"https://github.com/guycole.png","language":"Go","readme":"# daring-chupacabra\n[Discrete event simulation](https://en.wikipedia.org/wiki/Discrete-event_simulation) implemented in [golang](https://go.dev/) and deploys to [kubernetes](https://kubernetes.io/).  You can craft a starting state and let run, or clients can interact with server via [gRPC](https://en.wikipedia.org/wiki/GRPC).\n\n## Goals\n1. Portable communication via [gRPC](https://en.wikipedia.org/wiki/GRPC)\n1. Deploy to [kubernetes](https://kubernetes.io/)\n1. Minimal user interface (CLI)\n1. Asynchronous or synchronous operation\n    1. Turns can be incremented via grpc or run continuously\n\n## Data Structure\n1. State\n    1. Simulation objects are represented by tokens which have a unique ID, a specialization (type) and a life cycle state.\n    1. Existence: all tokens hava a [CatalogItemType](https://github.com/guycole/daring-chupacabra/blob/main/server/catalog.go) within the [CatalogMap](https://github.com/guycole/daring-chupacabra/blob/main/server/catalog.go).  \n    1. Life Cycle: objects are scheduled, created and optionally deleted.  All tokens (even deleted) remain resident within CatalogMap during the simulation (deleted items are removed from other data structures).  \n    1. Location: a 2D grid of [LocationType](https://github.com/guycole/daring-chupacabra/blob/main/server/location.go) represents position within a 2D grid. \n1. Clock (Time/Turn)\n    Time always moves forward.  Events can be scheduled up to 99 turns in advance (mod 100).  Events are kept within [event_array](https://github.com/guycole/daring-chupacabra/blob/main/server/event_array.go) which manages a list of [event_node](https://github.com/guycole/daring-chupacabra/blob/main/server/event_node.go).  Each event_node item represents a scheduled task.\n1. Events (Tasks)\n    Each scheduled event has a token and an action verb.\n\n## Action\n1. createAction: create specified object\n1. deleteAction: delete specified object\n1. moveAction: move specified object\n1. nominalAction: turn housekeeping for object\n1. nothingAction: do nothing\n1. parseAction: parse a command from grpc client\n1. scanAction: report on objects around requestor\n1. statusAction: report object status","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguycole%2Fdaring-chupacabra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguycole%2Fdaring-chupacabra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguycole%2Fdaring-chupacabra/lists"}