{"id":24441713,"url":"https://github.com/jms55/botnet","last_synced_at":"2025-04-12T20:13:17.698Z","repository":{"id":37666809,"uuid":"505269851","full_name":"JMS55/botnet","owner":"JMS55","description":"Multiplayer programming game using Rust and WebAssembly","archived":false,"fork":false,"pushed_at":"2023-03-06T15:07:24.000Z","size":511,"stargazers_count":72,"open_issues_count":7,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T20:13:12.631Z","etag":null,"topics":["rust","video-game","wasm","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JMS55.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}},"created_at":"2022-06-20T02:28:01.000Z","updated_at":"2025-04-07T08:19:45.000Z","dependencies_parsed_at":"2023-01-27T20:25:10.503Z","dependency_job_id":null,"html_url":"https://github.com/JMS55/botnet","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/JMS55%2Fbotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMS55%2Fbotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMS55%2Fbotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMS55%2Fbotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JMS55","download_url":"https://codeload.github.com/JMS55/botnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625517,"owners_count":21135514,"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":["rust","video-game","wasm","webassembly"],"created_at":"2025-01-20T21:19:04.508Z","updated_at":"2025-04-12T20:13:17.681Z","avatar_url":"https://github.com/JMS55.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Botnet\n### A multiplayer programming simulation game\n![Replay screenshot](screenshot.png)\n\n## Introduction\nBotnet is a simulation game where each player writes a script to control autonomous units called \"bots\". Players have no control over the game directly, and must program their bots to play the game for them.\n\n## Bot Scripts\nBots can be programmed in any language that can compile to [WebAssembly](https://webassembly.org).\n\nCurrently, the only SDK provided is for the [Rust](https://www.rust-lang.org) language. Depend on the [botnet_api](botnet_api) crate and compile a cdylib for the `wasm32-unknown-unknown` target.\n\nFork the [example bot](example_bot) to get started.\n\n## Usage\nCurrently, the server is hardcoded to run several instances of the example bot.\n\nTo run the server with logs enabled, first compile the example bot:\n\n`cargo build --release --target wasm32-unknown-unknown --manifest-path=example_bot/Cargo.toml`\n\nand then compile and run the server:\n\n`RUST_LOG=botnet cargo run --manifest-path=botnet/Cargo.toml`\n\nTo view the replay, run [BotnetReplayViewer](botnet_replay_viewer):\n\n`cargo run --release --manifest-path=botnet_replay_viewer/Cargo.toml example.rplay`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjms55%2Fbotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjms55%2Fbotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjms55%2Fbotnet/lists"}