{"id":13693085,"url":"https://github.com/zacpez/scape-goat","last_synced_at":"2025-05-02T21:31:22.464Z","repository":{"id":149880278,"uuid":"237541348","full_name":"zacpez/scape-goat","owner":"zacpez","description":"Scape goat is a battle snake. It is written in Go, and planned to be deployed on heroku when in battle.","archived":false,"fork":false,"pushed_at":"2023-01-14T06:11:07.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T17:14:55.378Z","etag":null,"topics":["battlesnake","heroku"],"latest_commit_sha":null,"homepage":"","language":"Go","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/zacpez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2020-02-01T00:48:53.000Z","updated_at":"2022-01-20T02:52:04.000Z","dependencies_parsed_at":"2023-07-22T07:01:21.605Z","dependency_job_id":null,"html_url":"https://github.com/zacpez/scape-goat","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/zacpez%2Fscape-goat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacpez%2Fscape-goat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacpez%2Fscape-goat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacpez%2Fscape-goat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zacpez","download_url":"https://codeload.github.com/zacpez/scape-goat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224337275,"owners_count":17294694,"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":["battlesnake","heroku"],"created_at":"2024-08-02T17:01:05.345Z","updated_at":"2024-11-12T19:30:25.049Z","avatar_url":"https://github.com/zacpez.png","language":"Go","funding_links":[],"categories":["Battlesnakes"],"sub_categories":[],"readme":"## battlesnake-go\n[![Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.](http://www.repostatus.org/badges/latest/abandoned.svg)](http://www.repostatus.org/#abandoned)\n\nA simple [Battlesnake AI](http://battlesnake.io) written in Go.\n\nVisit [https://github.com/battlesnakeio/community/blob/master/starter-snakes.md](https://github.com/battlesnakeio/community/blob/master/starter-snakes.md) for API documentation and instructions for running your AI.\n\nTo get started, you'll need:\n  1. A working Go development environment ([guide](https://golang.org/doc/install)).\n  1. Read [Heroku's guide to deploying Go apps](https://devcenter.heroku.com/articles/getting-started-with-go#introduction)\n\n[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)\n\n### Running the AI locally\n\n1. Clone repo to your development environment:\n```\ngit clone https://github.com/battlesnakeio/starter-snake-go.git $GOPATH/github.com/battlesnakeio/starter-snake-go\ncd $GOPATH/github.com/battlesnakeio/starter-snake-go\n```\n\n1. Compile and run the server with:\n\n```\nmake run\n```\n\n1. Test the client in your browser: [http://127.0.0.1:9000/start](http://127.0.0.1:9000/start)\n\n### Fork this repo\n\n1. [Fork this repo](https://github.com/battlesnakeio/starter-snake-go/fork).\n\n1. Push and Pull from your new repo\n```\ngit remote set-url origin https://github.com/\u003cyour-username\u003e/starter-snake-go\n```\n\n### Running tests locally\n\n```\nmake test\n```\n\nNote: if you're missing any packages, use `Make get`.\n\n### Deploying to Heroku\n\n1) Create a new Go Heroku app using Go buildpack.\n```\nheroku create\n```\n\n2) Push code to Heroku servers.\n```\ngit push heroku master\n```\n\n3) Open Heroku app in browser.\n```\nheroku open\n```\nOr go directly via http://APP_NAME.herokuapp.com\n\n4) View/stream server logs.\n```\nheroku logs --tail\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacpez%2Fscape-goat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzacpez%2Fscape-goat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacpez%2Fscape-goat/lists"}