{"id":50784677,"url":"https://github.com/clovisphere/blip","last_synced_at":"2026-06-12T07:00:34.546Z","repository":{"id":363358795,"uuid":"1262730585","full_name":"clovisphere/blip","owner":"clovisphere","description":" A pirate deduction game where you fire cannonballs at a 4×7 grid to find six hidden sea creatures before you run out of shots.","archived":false,"fork":false,"pushed_at":"2026-06-11T13:09:11.000Z","size":80,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2026-06-11T13:22:25.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/clovisphere.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-08T09:09:38.000Z","updated_at":"2026-06-11T12:27:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/clovisphere/blip","commit_stats":null,"previous_names":["clovisphere/battleship","clovisphere/blip"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/clovisphere/blip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovisphere%2Fblip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovisphere%2Fblip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovisphere%2Fblip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovisphere%2Fblip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clovisphere","download_url":"https://codeload.github.com/clovisphere/blip/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovisphere%2Fblip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34232790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-06-12T07:00:15.027Z","updated_at":"2026-06-12T07:00:34.537Z","avatar_url":"https://github.com/clovisphere.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Tests](https://github.com/clovisphere/blip/actions/workflows/test.yml/badge.svg)](https://github.com/clovisphere/blip/actions)\n[![Release](https://img.shields.io/github/v/release/clovisphere/blip)](https://github.com/clovisphere/blip/releases)\n[![Docker](https://img.shields.io/docker/v/clovisphere/blip?label=docker\u0026logo=docker\u0026logoColor=white)](https://hub.docker.com/r/clovisphere/blip)\n[![Bun](https://img.shields.io/badge/Bun-1.2-black?logo=bun)](https://bun.sh)\n[![Vanilla JS](https://img.shields.io/badge/Vanilla_JS-ES2020-yellow?logo=javascript\u0026logoColor=black)](https://developer.mozilla.org/en-US/docs/Web/JavaScript)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/img/captain-blip.png\" alt=\"Captain Blip\" width=\"160\" /\u003e\n\u003c/p\u003e\n\n**Blip** — a pirate-themed deduction game for ages 9–12. Six hidden sea creatures lurk on a 4×7 grid. Fire cannonballs to find them all before you run out of shots.\n\n## How to play\n\n1. Serve locally (see below) and open `http://localhost:3000`.\n2. Pick a level: **n00b**, **ninja**, or **hacker**.\n3. Tap any cell to fire a cannonball — a creature pops up on a hit, a ✕ marks a miss.\n4. Find all 6 beasts to win. Run out of shots and it's game over.\n\n## Levels\n\n| Level   | Shots | Beasts hide…          | Hints? |\n| ------- | ----- | --------------------- | ------ |\n| n00b    | 22    | In straight lines     | No     |\n| ninja   | 16    | Anywhere (scattered)  | Yes — Captain Blip whispers a row or column after each miss |\n| hacker  | 12    | Anywhere (scattered)  | No     |\n\nNo timer — it's all about the shots.\n\n## Running locally\n\n**With Bun:**\n\n```bash\nbun run dev\n```\n\n**With Docker:**\n\n```bash\ndocker build -t blip .\ndocker run -p 3000:3000 blip\n```\n\nThen open `http://localhost:3000`.\n\n\u003e **Note:** The game uses ES modules (`type=\"module\"`), so opening `index.html` directly via `file://` won't work. A local server is required.\n\n## Running tests\n\n```bash\nbun test\n```\n\n## Project structure\n\n```\nblip/\n├── index.html\n├── server.js             # Bun static file server\n├── tests/\n│   └── game.test.js      # unit tests (bun:test)\n└── public/\n    ├── css/style.css\n    └── js/\n        ├── game.js       # pure logic — board building, hints, constants\n        ├── main.js       # UI — 5-screen state machine, DOM, events\n        ├── matrix.js     # Matrix rain canvas (unused, kept for later)\n        └── sound.js      # Web Audio sound effects\n```\n\n## Tech\n\n- Vanilla JS (ES modules, no build step, no dependencies)\n- Web Audio API for procedural sound effects\n- Pure CSS/HTML Captain Blip mascot (pirate face, 3 moods)\n- Fonts: [Bangers](https://fonts.google.com/specimen/Bangers) + [Patrick Hand](https://fonts.google.com/specimen/Patrick+Hand) via Google Fonts\n\n## TODO\n\n- [x] Unit tests (game logic — board placement, hints, adjacency)\n- [x] Mobile touch support\n- [x] Multiple creatures with per-type colours\n- [x] Pirate/comic-book redesign with Captain Blip mascot\n- [ ] End-to-end tests (Playwright)\n- [x] Dockerfile for containerised deployment\n- [x] Makefile with `dev`, `test`, `build`, and `docker` targets\n- [x] CI workflow (GitHub Actions — build and push image to Docker Hub)\n- [x] Custom favicon (Captain Blip)\n- [x] Early-loss rule: end the game when shots remaining \u003c beasts remaining (unwinnable state)\n- [ ] Per-level theming: distinct background/palette for ninja and hacker to reflect increasing danger\n- [x] Center the game layout on all screen sizes (mobile and large desktop)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclovisphere%2Fblip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclovisphere%2Fblip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclovisphere%2Fblip/lists"}