{"id":19840930,"url":"https://github.com/torvaney/wolf-and-hare","last_synced_at":"2025-09-06T16:42:01.290Z","repository":{"id":133824245,"uuid":"93087467","full_name":"Torvaney/wolf-and-hare","owner":"Torvaney","description":"A 2-player implementation of the game by Martin Weidner.","archived":false,"fork":false,"pushed_at":"2017-06-06T09:44:33.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T11:37:53.027Z","etag":null,"topics":["elm","elm-lang","game","wolf-and-hare"],"latest_commit_sha":null,"homepage":"https://torvaney.github.io/projects/wolf-and-hare","language":"Elm","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/Torvaney.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":"2017-06-01T18:27:47.000Z","updated_at":"2017-07-25T21:34:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a5bfaa6-f889-492f-b2da-3eaaa1f87b84","html_url":"https://github.com/Torvaney/wolf-and-hare","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fwolf-and-hare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fwolf-and-hare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fwolf-and-hare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fwolf-and-hare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torvaney","download_url":"https://codeload.github.com/Torvaney/wolf-and-hare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241210167,"owners_count":19927800,"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":["elm","elm-lang","game","wolf-and-hare"],"created_at":"2024-11-12T12:28:46.399Z","updated_at":"2025-02-28T19:20:37.913Z","avatar_url":"https://github.com/Torvaney.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wolf and Hare\n\nA 2 player version of the game outlined\n[here](http://www.ucl.ac.uk/~uctpmw0/HaseWolf/hw_main.html)\n by Martin Weidner.\n\n## The rules\n * Players take turns to move.\n * The Wolf (red) can move one of its three pieces diagonally and forwards.\n * The Hare (blue) can move diagonally in all directions.\n * Players cannot move into a space alrady occupied by another piece.\n * The goal of the Hare is to reach the bottom of the board.\n * The goal of the Wolves is to trap the Hare so that it cannot make any moves.\n\nThe game comes with an additional twist: the player starting the game cannot win unless the opponent makes a mistake...\n\n## Try it out\n\n[Link](https://torvaney.github.io/projects/wolf-and-hare)\n\n## Compile\n\nCompile to javascript with `elm-make`\n```\nelm-make src/elm/Main.elm --output src/static/js/main.js\n```\n\n...and then view `index.html` in a browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Fwolf-and-hare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorvaney%2Fwolf-and-hare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Fwolf-and-hare/lists"}