{"id":50731365,"url":"https://github.com/deadronos/rpg-hex-turn","last_synced_at":"2026-06-10T09:01:15.177Z","repository":{"id":352515024,"uuid":"1215442013","full_name":"deadronos/rpg-hex-turn","owner":"deadronos","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-19T23:08:13.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"upgrade-dependencies","last_synced_at":"2026-04-20T01:16:47.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/deadronos.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":null,"dco":null,"cla":null}},"created_at":"2026-04-19T23:07:26.000Z","updated_at":"2026-04-19T23:07:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/deadronos/rpg-hex-turn","commit_stats":null,"previous_names":["deadronos/rpg-hex-turn"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/deadronos/rpg-hex-turn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Frpg-hex-turn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Frpg-hex-turn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Frpg-hex-turn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Frpg-hex-turn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadronos","download_url":"https://codeload.github.com/deadronos/rpg-hex-turn/tar.gz/refs/heads/upgrade-dependencies","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Frpg-hex-turn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34144680,"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-10T02:00:07.152Z","response_time":89,"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-10T09:01:14.538Z","updated_at":"2026-06-10T09:01:15.166Z","avatar_url":"https://github.com/deadronos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hexfall Tactics Prototype\n\nHexfall Tactics is a lightweight browser prototype for a turn-based fantasy RPG played on a 2D hex battlefield. It uses plain HTML, CSS, and JavaScript modules, so there is no build step.\n\n## Features\n\n- Playable turn loop with initiative-based turns\n- Hex-grid movement and attacks\n- Three hero classes:\n  - Warrior with `Cleave`\n  - Rogue with `Shadowstep`\n  - Mage with `Fireball`\n- Three enemy types with different behavior:\n  - Goblin skirmishers\n  - Orc bruiser\n  - Skeleton archer\n- Combat log, turn order, selected-unit panel, win/lose state, and restart button\n\n## Run locally\n\nServe the repo with any static file server. For example:\n\n```bash\ncd /Users/openclaw/Github/rpg-hex-turn\npython3 -m http.server 4173\n```\n\nThen open \u003chttp://localhost:4173\u003e in a browser.\n\n## How to play\n\n- The current unit is highlighted in gold.\n- On hero turns, use the action buttons and click highlighted hexes on the battlefield.\n- Each hero gets one move and one action each turn.\n- The warrior uses `Cleave` immediately from the action panel.\n- The rogue uses `Shadowstep` by selecting an empty hex within 3.\n- The mage uses `Fireball` by selecting a target hex within 3.\n- Defeat every enemy to win. If all heroes fall, the battle is lost.\n\n## Project structure\n\n- `index.html` defines the UI shell\n- `styles.css` provides the fantasy HUD and battlefield presentation\n- `src/data.js` defines unit stats and the starting scenario\n- `src/hex.js` contains hex-grid math helpers\n- `src/game.js` contains turn flow, combat logic, AI, and canvas rendering\n- `src/main.js` boots the game\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadronos%2Frpg-hex-turn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadronos%2Frpg-hex-turn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadronos%2Frpg-hex-turn/lists"}