{"id":24637819,"url":"https://github.com/headblockhead/bm-nac","last_synced_at":"2026-05-10T14:45:42.531Z","repository":{"id":272191786,"uuid":"915766423","full_name":"headblockhead/bm-nac","owner":"headblockhead","description":"A two-player noughts and crosses (tic-tac-toe) game for x64 Linux systems, designed to look nice, and to take up very little space, small enough to fit into a QR code!","archived":false,"fork":false,"pushed_at":"2025-01-25T04:10:50.000Z","size":99,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T04:18:23.847Z","etag":null,"topics":["assembly","linux-shell","nasm"],"latest_commit_sha":null,"homepage":"","language":"Assembly","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/headblockhead.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":"2025-01-12T18:38:57.000Z","updated_at":"2025-01-25T04:10:53.000Z","dependencies_parsed_at":"2025-01-12T20:27:38.845Z","dependency_job_id":"a0157c36-6e2f-466e-bc94-f4dbebb13a01","html_url":"https://github.com/headblockhead/bm-nac","commit_stats":null,"previous_names":["headblockhead/saycheese-game","headblockhead/bm-nac"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2Fbm-nac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2Fbm-nac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2Fbm-nac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2Fbm-nac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/headblockhead","download_url":"https://codeload.github.com/headblockhead/bm-nac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244584272,"owners_count":20476512,"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":["assembly","linux-shell","nasm"],"created_at":"2025-01-25T10:12:02.665Z","updated_at":"2026-05-10T14:45:37.453Z","avatar_url":"https://github.com/headblockhead.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BM-NAC\n\u003csup\u003epronounced: bee-em-nack, stands for: beautiful-minimal-noughts-and-crosses\u003c/sup\u003e\n\nA noughts and crosses (tic-tac-toe) game for the Linux terminal written in assembly language, and designed to be both good-looking, and to produce a very small binary.\n\nProduced for Hack Club's [saycheese YSWS](https://saycheese.hackclub.com/).\n\n[![asciicast](./demo.gif)](https://asciinema.org/a/LJ9rdZrWfQFpGYTSu487keIvw)\n\n## Running\n\nIf you don't want to use the QR code, you can run it with:\n```bash\nnix run github:headblockhead/bm-nac\n```\n\n## QR Code\n\nThe binary is small enough to fit in a QR code, so here's that QR code!\n\n![game binary qrcode](./qrcode.png)\n\nUse `zbarimg --raw --oneshot -Sbinary qrcode.png \u003e executable` to get the executable from the QR code.\n\n## Tasks\n\n\u003e [!IMPORTANT]\n\u003e You must be in the `nix develop` shell for these tasks to work.\n\n### build\n\n```bash\nnix build\nls -l ./result/bin/saycheese-ncg\n```\n\n### qr\n\n```bash\nqrencode -t ansiutf8 -8 -r result/bin/saycheese-ncg\nqrencode -o qrcode.png -8 -r result/bin/saycheese-ncg\nzbarimg --raw --oneshot -Sbinary qrcode.png \u003e scanned-binary\ndiff -s result/bin/saycheese-ncg scanned-binary\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheadblockhead%2Fbm-nac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheadblockhead%2Fbm-nac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheadblockhead%2Fbm-nac/lists"}