{"id":19053640,"url":"https://github.com/nating/core-wars","last_synced_at":"2026-06-22T17:31:12.939Z","repository":{"id":91224614,"uuid":"113329610","full_name":"nating/core-wars","owner":"nating","description":"An Haskell implementation of the Assembly Language program crasher game.","archived":false,"fork":false,"pushed_at":"2017-12-15T20:58:57.000Z","size":8607,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-11T17:30:48.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nating.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":"2017-12-06T14:57:19.000Z","updated_at":"2017-12-15T14:23:33.000Z","dependencies_parsed_at":"2023-03-20T18:17:57.460Z","dependency_job_id":null,"html_url":"https://github.com/nating/core-wars","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nating/core-wars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Fcore-wars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Fcore-wars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Fcore-wars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Fcore-wars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nating","download_url":"https://codeload.github.com/nating/core-wars/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nating%2Fcore-wars/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34659895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-08T23:33:02.262Z","updated_at":"2026-06-22T17:31:12.918Z","avatar_url":"https://github.com/nating.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Core Wars\n\nA version of Core Wars written in Haskell.\n\nThe program reads in warriors 'programs' from files and places them apart in an initialised MARS (cyclical array of instructions).\n\nThe MARS environment is a Map of integers to Instructions. It is stored in the Mars TVar, which all the warriors have access to.\n\nEach warrior is a thread. Each thread has a list of instruction pointers, which correspond to where each of its tasks are.\n\nEach warrior has access to the logger (MVar). Only one of the warriors can take the logger at once.\nThe logger is taken so that a warrior can print out the instruction it has just performed to the console.\n\n\u003cimg src=\"./assets/example.gif\" width=\"200\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnating%2Fcore-wars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnating%2Fcore-wars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnating%2Fcore-wars/lists"}