{"id":19646408,"url":"https://github.com/theremotecoder/state-machines-playground","last_synced_at":"2026-05-15T19:33:43.831Z","repository":{"id":172012243,"uuid":"347006264","full_name":"TheRemoteCoder/State-Machines-Playground","owner":"TheRemoteCoder","description":"State machines with XState","archived":false,"fork":false,"pushed_at":"2021-10-30T19:15:29.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T00:16:44.234Z","etag":null,"topics":["drag-and-drop","draggable","ecmascript","ecmascript6","es6","html","html5","javascript","javascript-es6","js","node","state","state-machine","state-management","statemachine","statemachine-library","statemachines","statemanagement","xstate","xstate-test"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheRemoteCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-03-12T09:12:31.000Z","updated_at":"2023-06-02T17:03:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbfce44c-0b3d-4efa-85e8-5c7cd8cee49e","html_url":"https://github.com/TheRemoteCoder/State-Machines-Playground","commit_stats":null,"previous_names":["theremotecoder/state-machines-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheRemoteCoder/State-Machines-Playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheRemoteCoder%2FState-Machines-Playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheRemoteCoder%2FState-Machines-Playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheRemoteCoder%2FState-Machines-Playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheRemoteCoder%2FState-Machines-Playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheRemoteCoder","download_url":"https://codeload.github.com/TheRemoteCoder/State-Machines-Playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheRemoteCoder%2FState-Machines-Playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33076217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["drag-and-drop","draggable","ecmascript","ecmascript6","es6","html","html5","javascript","javascript-es6","js","node","state","state-machine","state-management","statemachine","statemachine-library","statemachines","statemanagement","xstate","xstate-test"],"created_at":"2024-11-11T14:38:26.066Z","updated_at":"2026-05-15T19:33:43.806Z","avatar_url":"https://github.com/TheRemoteCoder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# State machines\n\n- [About](#about)\n- [Use](#use)\n- [Technologies](#technologies)\n- [Knowledge](#knowledge)\n- [Sources](#sources)\n\n---\n\n## About\n\nComparison of Robot and XState for basic concepts and API features.\n\nThe basic test scenario for both is a state machine imaginable for a Sci-Fi game, \nwhere players have a space ship which can activate a shield (limited times).\n\nBesides that, some arbitrary advanced concepts are tested and experimented on.\n\n---\n\n## Use\n\n- Run via Browser -or- NPM (see script commands)\n\n---\n\n## Technologies\n\n- Robot: https://thisrobot.life\n- XState: https://xstate.js.org\n\n---\n\n## Knowledge\n\n### Robot\n\n- Order of functions in transitions matter, e.g. with a guard in the first,\n  if this fails the second will be called (for the same command)\n- Nested machines with a single service seem hard to debug/test\n  - There is probably a better way ...?\n\n### XState\n\n- Nested machine states can propagate to parents, if unhandled by the current state\n\n---\n\n## Sources\n\n- https://xstate.js.org/docs/guides/introduction-to-state-machines-and-statecharts\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheremotecoder%2Fstate-machines-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheremotecoder%2Fstate-machines-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheremotecoder%2Fstate-machines-playground/lists"}