{"id":16127101,"url":"https://github.com/mikolalysenko/lpf-ctf","last_synced_at":"2025-03-18T13:32:20.614Z","repository":{"id":65997261,"uuid":"22995435","full_name":"mikolalysenko/lpf-ctf","owner":"mikolalysenko","description":"Multiplayer capture the flag demo","archived":false,"fork":false,"pushed_at":"2017-09-04T20:04:23.000Z","size":196,"stargazers_count":22,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-28T10:02:09.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"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/mikolalysenko.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":"2014-08-15T16:20:21.000Z","updated_at":"2024-04-19T15:46:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"f28f5005-6078-4f4d-b89f-2f8fb6204c52","html_url":"https://github.com/mikolalysenko/lpf-ctf","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/mikolalysenko%2Flpf-ctf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Flpf-ctf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Flpf-ctf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Flpf-ctf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikolalysenko","download_url":"https://codeload.github.com/mikolalysenko/lpf-ctf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933378,"owners_count":20370989,"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":[],"created_at":"2024-10-09T21:42:15.288Z","updated_at":"2025-03-18T13:32:20.339Z","avatar_url":"https://github.com/mikolalysenko.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Capture the flag demo\n=====================\n\nThis is a multiplayer capture the flag game which uses space-time causality (for asynchronous execution) and local perception filters to hide latency.  For more information, see the following blog posts:\n\n* Replication in networked games: [Part 1](http://0fps.net/2014/02/10/replication-in-networked-games-overview-part-1/) [Part 2](http://0fps.net/2014/02/17/replication-in-networked-games-latency-part-2/) [Part 3](http://0fps.net/2014/02/26/replication-in-networked-games-spacetime-consistency-part-3/) [Part 4](http://0fps.net/2014/03/09/replication-in-network-games-bandwidth-part-4/)\n\n## First time set up\n\n#### 1.  Install node.js, npm and git\n\nYou can get [node.js here](http://nodejs.org/download/), and this website (github.com) has instructions on how to set up git on various systems.\n\n#### 2.  Clone the repo\n\nOpen up a shell and type:\n\n```\ngit clone https://github.com/mikolalysenko/lpf-ctf\n```\n\n#### 3. Install all dependencies\n\nGo into the folder that was just cloned and type:\n\n```\nnpm install\n```\n\n#### 4. Start the server\n\nAgain from the same folder, type:\n\n```\nnpm start\n```\n\n#### 5. Open a page to connect to it\n\nOpen up a browser tab for `localhost:8080` and you should be good to go.\n\n## Using the software\n\nTo play the game, use the arrow keys to move your player and spacebar to shoot.  The shift key slows down time, though using this excessively can cause your client to drop.\n\nTo view the history of the game, open the `/visualize.html` file which is hosted by the server.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikolalysenko%2Flpf-ctf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikolalysenko%2Flpf-ctf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikolalysenko%2Flpf-ctf/lists"}