{"id":23060161,"url":"https://github.com/rodrigosetti/corewar","last_synced_at":"2025-06-25T03:37:15.159Z","repository":{"id":6561734,"uuid":"7803578","full_name":"rodrigosetti/corewar","owner":"rodrigosetti","description":"Core War's MARS implementation in Python","archived":false,"fork":false,"pushed_at":"2014-09-13T01:49:49.000Z","size":240,"stargazers_count":27,"open_issues_count":1,"forks_count":12,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-08T20:47:39.908Z","etag":null,"topics":["corewar"],"latest_commit_sha":null,"homepage":null,"language":"Red","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodrigosetti.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}},"created_at":"2013-01-24T17:50:34.000Z","updated_at":"2024-09-29T17:58:57.000Z","dependencies_parsed_at":"2022-09-14T04:20:20.953Z","dependency_job_id":null,"html_url":"https://github.com/rodrigosetti/corewar","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/rodrigosetti%2Fcorewar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigosetti%2Fcorewar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigosetti%2Fcorewar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigosetti%2Fcorewar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodrigosetti","download_url":"https://codeload.github.com/rodrigosetti/corewar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246952274,"owners_count":20859812,"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":["corewar"],"created_at":"2024-12-16T03:11:33.440Z","updated_at":"2025-04-03T07:15:27.401Z","avatar_url":"https://github.com/rodrigosetti.png","language":"Red","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Core War\n\n[![Build Status](https://travis-ci.org/rodrigosetti/corewar.svg?branch=master)](https://travis-ci.org/rodrigosetti/corewar)\n\nThe Canadian mathematician A. K. Dewdney (author of \"The Planiverse\") first\nintroduced Core War in a series of Scientific American articles\nstarting in 1984.\n\n\u003e Core War was inspired by a story I heard some years ago about a mischievous\n\u003e programmer at a large corporate research laboratory I shall designate X. The\n\u003e programmer wrote an assembly-language program called Creeper that would\n\u003e duplicate itself every time it was run. It could also spread from one\n\u003e computer to another in the network of the X corporation. The program had no\n\u003e function other than to perpetuate itself. Before long there were so many\n\u003e copies of Creeper that more useful programs and data were being crowded out.\n\u003e The growing infestation was not brought under control until someone thought\n\u003e of fighting fire with fire. A second self-duplicating program called Reaper\n\u003e was written.  Its purpose was to destroy copies of Creeper until it could\n\u003e find no more and then to destroy itself. Reaper did its job, and things were\n\u003e soon back to normal at the X lab.\n\nIn this game, computer programs (called \"Warriors\") compete in a virtual arena\nfor digital supremacy. Warriors are written in an Assembly dialect called\n\"Redcode\".\n\n[Wikipedia article](http://en.wikipedia.org/wiki/Core_War)\n\nThis is a Python implementation of the MARS (Memory Array Redcode Simulator).\n\n    usage: graphics.py [-h] [--rounds [ROUNDS]] [--paused] [--size [CORESIZE]]\n                       [--cycles [CYCLES]] [--processes [MAXPROCESSES]]\n                       [--length [MAXLENGTH]] [--distance [MINDISTANCE]]\n                       WARRIOR [WARRIOR ...]\n\n    MARS (Memory Array Redcode Simulator)\n\n    positional arguments:\n      WARRIOR               Warrior redcode filename\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      --rounds [ROUNDS], -r [ROUNDS]\n                            Rounds to play\n      --paused              Start each round paused\n      --size [CORESIZE], -s [CORESIZE]\n                            The core size\n      --cycles [CYCLES], -c [CYCLES]\n                            Cycles until tie\n      --processes [MAXPROCESSES], -p [MAXPROCESSES]\n                            Max processes\n      --length [MAXLENGTH], -l [MAXLENGTH]\n                            Max warrior length\n      --distance [MINDISTANCE], -d [MINDISTANCE]\n                            Minimum warrior distance\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigosetti%2Fcorewar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigosetti%2Fcorewar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigosetti%2Fcorewar/lists"}