{"id":31781220,"url":"https://github.com/giuse/roguelike","last_synced_at":"2025-10-10T08:34:38.746Z","repository":{"id":19657927,"uuid":"22910897","full_name":"giuse/roguelike","owner":"giuse","description":null,"archived":false,"fork":false,"pushed_at":"2014-08-13T17:58:06.000Z","size":196,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-02T14:08:29.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giuse.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}},"created_at":"2014-08-13T09:49:39.000Z","updated_at":"2014-10-02T04:03:54.000Z","dependencies_parsed_at":"2022-08-24T14:07:18.326Z","dependency_job_id":null,"html_url":"https://github.com/giuse/roguelike","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/giuse/roguelike","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Froguelike","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Froguelike/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Froguelike/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Froguelike/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giuse","download_url":"https://codeload.github.com/giuse/roguelike/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Froguelike/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003296,"owners_count":26083555,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":"2025-10-10T08:31:40.280Z","updated_at":"2025-10-10T08:34:38.740Z","avatar_url":"https://github.com/giuse.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"roguelike\n=========\n\nTrying to put together a roguelike game\n\n---\n\nWe start with grid coordinates to simplify the design, but bear in mind we want to switch to hexagons later in the project.\n\n## MAP\n\n### Map description\n\nActual map:\n- header\n- file extension is .map\n- dot is navigable cell\n- white space is ignored\n- w is unmovable wall\n- m is movable wall\n- outside the size we have unmovable wall\n\n### Map example\n\n    3\n\n    .w.\n    .w.\n    ...\n\n\n### Hexagonal map representation\n\nHexagon space representation as two 2D axes plus one diagonal.\n\n       |***\n      *|***\n     **|***\n    ---o---\n    ***|**\n    ***|*\n    ***|\n\nAdjacency (and 1-distance) is valid over the two axes and the m=1 diagonal.\n\n### Resources\n- [Hexagonal grids](http://www.redblobgames.com/grids/hexagons/)\n- [Hex maps on wikipedia](http://en.wikipedia.org/wiki/Hex_map)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuse%2Froguelike","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiuse%2Froguelike","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuse%2Froguelike/lists"}