{"id":13465937,"url":"https://github.com/ctrl-alt-d/Blagario","last_synced_at":"2025-03-25T21:30:52.558Z","repository":{"id":68589531,"uuid":"193260817","full_name":"ctrl-alt-d/Blagario","owner":"ctrl-alt-d","description":"Agar with no javascript lab: Blazor + html + css","archived":false,"fork":false,"pushed_at":"2020-04-17T15:54:39.000Z","size":4148,"stargazers_count":28,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-01T15:03:59.536Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctrl-alt-d.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}},"created_at":"2019-06-22T17:23:44.000Z","updated_at":"2023-07-10T21:51:24.000Z","dependencies_parsed_at":"2023-02-28T11:31:25.547Z","dependency_job_id":null,"html_url":"https://github.com/ctrl-alt-d/Blagario","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrl-alt-d%2FBlagario","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrl-alt-d%2FBlagario/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrl-alt-d%2FBlagario/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrl-alt-d%2FBlagario/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctrl-alt-d","download_url":"https://codeload.github.com/ctrl-alt-d/Blagario/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222091680,"owners_count":16929677,"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-07-31T15:00:37.130Z","updated_at":"2024-10-29T18:30:25.914Z","avatar_url":"https://github.com/ctrl-alt-d.png","language":"C#","funding_links":[],"categories":["Sample Projects"],"sub_categories":["Games"],"readme":"# Blagario project\n\nThis is just an experimental lab to test to make a multiplayer web game without javascript (or almost without). Components:\n\n* blazor ( netcore 3.0.100 )\n* html\n* css\n\nMaybe a more simple game (pong, snake, space invaders ) would be enough to make the lab ... but ... let's try.\n\nThis is not a real project, just a lab to enjoy and for experimental purposes (check performance, refresh, network bandwidth, learn new blazor features, ... ).\n\n### How it works?\n\n* All elements ( cell, viruses, world, pellets, W) are simple C# classes.\n* Each element has a `Tic` method who makes game move on.\n* They are a `HostedService` who calls the `Tic`s.\n* `Universe` is injected as `AddSingleton`: one Universe for all people.\n* `Player` is injected as `Scoped`: one Cell for Player (connection).\n* Mouse is tracked by blazor ( `@onmousemove`'s `MouseEventArgs` )\n\n### Collaboration wanted:\n\n[See todo list and make PR's](https://github.com/ctrl-alt-d/Blagario/issues/1)\n\nMake PR to this report and contribute to [hacktoberfest](https://hacktoberfest.digitalocean.com/)\n\n![screenshot](./screenshots/blagario_v1.gif)\n*Two gamers, two cells*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrl-alt-d%2FBlagario","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctrl-alt-d%2FBlagario","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrl-alt-d%2FBlagario/lists"}