{"id":18268755,"url":"https://github.com/ferdodo/blockwise","last_synced_at":"2025-04-04T23:31:15.034Z","repository":{"id":193274942,"uuid":"688469524","full_name":"ferdodo/blockwise","owner":"ferdodo","description":"Minimalistic utility lib for writing simple 2d games where everything is a block.","archived":false,"fork":false,"pushed_at":"2024-10-30T03:47:28.000Z","size":362,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T06:26:03.654Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ferdodo.github.io/blockwise/","language":"TypeScript","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/ferdodo.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-07T12:16:04.000Z","updated_at":"2024-10-22T11:16:51.000Z","dependencies_parsed_at":"2023-09-07T13:43:48.133Z","dependency_job_id":"49cd5508-222b-48bc-97f0-1f70b69e10b4","html_url":"https://github.com/ferdodo/blockwise","commit_stats":null,"previous_names":["ferdodo/blockwise"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdodo%2Fblockwise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdodo%2Fblockwise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdodo%2Fblockwise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdodo%2Fblockwise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferdodo","download_url":"https://codeload.github.com/ferdodo/blockwise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266475,"owners_count":20910831,"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-11-05T11:33:10.430Z","updated_at":"2025-04-04T23:31:13.232Z","avatar_url":"https://github.com/ferdodo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Npm package](https://img.shields.io/npm/v/blockwise.svg)](https://www.npmjs.com/package/blockwise)\n[![npm](https://img.shields.io/npm/dw/blockwise)](https://www.npmjs.com/package/blockwise)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/ferdodo/blockwise/master)](https://github.com/ferdodo/blockwise)\n[![GitHub](https://img.shields.io/github/license/ferdodo/blockwise)](https://github.com/ferdodo/blockwise)\n[![npm](https://img.shields.io/badge/documentation-blue)](https://ferdodo.github.io/blockwise/)\n\nBlockwise is a utility library that simplifies 2D game development by treating all elements as blocks. It exposes a single TypeScript interface, aiming to provide essential functions for creating small, beginner-friendly games.\n\n``` TypeScript\nimport { Block, isBlockColliding } from \"blockwise\";\n\nconst player: Block = { x: 0, y: 0, w: 1, y: 1 };\nconst obstacle: Block = { x: 15, y: 0, w: 1, y: 1 };\nconsole.log(isBlockColliding(player, obstacle)); // false\n```\n\n## Documentation\n\nhttps://ferdodo.github.io/blockwise/\n\n## Installation\n\n```bash\nnpm install blockwise\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferdodo%2Fblockwise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferdodo%2Fblockwise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferdodo%2Fblockwise/lists"}