{"id":13692685,"url":"https://github.com/kentmacdonald2/battle-snake-2017","last_synced_at":"2025-05-02T19:32:29.677Z","repository":{"id":83775335,"uuid":"83848353","full_name":"kentmacdonald2/battle-snake-2017","owner":"kentmacdonald2","description":"2017 Battlesnake Advanced Division Entry - Aggressive A-Star based implementation","archived":false,"fork":false,"pushed_at":"2017-04-21T02:39:57.000Z","size":285,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-12T18:41:55.555Z","etag":null,"topics":["battlesnake"],"latest_commit_sha":null,"homepage":"","language":"Python","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/kentmacdonald2.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}},"created_at":"2017-03-03T22:46:45.000Z","updated_at":"2021-10-02T03:05:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"91810eca-ec5b-4c3a-ac34-d26f076916e0","html_url":"https://github.com/kentmacdonald2/battle-snake-2017","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/kentmacdonald2%2Fbattle-snake-2017","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentmacdonald2%2Fbattle-snake-2017/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentmacdonald2%2Fbattle-snake-2017/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentmacdonald2%2Fbattle-snake-2017/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentmacdonald2","download_url":"https://codeload.github.com/kentmacdonald2/battle-snake-2017/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252095410,"owners_count":21693911,"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"],"created_at":"2024-08-02T17:01:00.896Z","updated_at":"2025-05-02T19:32:29.136Z","avatar_url":"https://github.com/kentmacdonald2.png","language":"Python","funding_links":[],"categories":["Battlesnakes"],"sub_categories":[],"readme":"# Battlesnake 2017 Entry \n#### By Kent MacDonald and Benjamin Cunningham\n\n### 2017 Battlesnake Advanced Division Entry  \n\nWe used an aggressive strategy that looks for food and relatively safe positioning via AStar search using a straight line distance heuristic\n\n(general info about deploying python-based battlesnakes below)\n\n---\n\nVisit [battlesnake.io/readme](http://battlesnake.io/readme) for API documentation and instructions for running your AI.\n\nThis AI client uses the [bottle web framework](http://bottlepy.org/docs/dev/index.html) to serve requests and the [gunicorn web server](http://gunicorn.org/) for running bottle on Heroku. Dependencies are listed in [requirements.txt](requirements.txt).\n\n[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)\n\n#### You will need...\n\n* a working Python 2.7 development environment ([getting started guide](http://hackercodex.com/guide/python-development-environment-on-mac-osx/))\n* experience [deploying Python apps to Heroku](https://devcenter.heroku.com/articles/getting-started-with-python#introduction)\n* [pip](https://pip.pypa.io/en/latest/installing.html) to install Python dependencies\n\n## Running the Snake Locally\n\n1) [Fork this repo](https://github.com/sendwithus/battlesnake-python/fork).\n\n2) Clone repo to your development environment:\n```\ngit clone git@github.com:username/battlesnake-python.git\n```\n\n3) Install dependencies using [pip](https://pip.pypa.io/en/latest/installing.html):\n```\npip install -r requirements.txt\n```\n\n4) Run local server:\n```\npython app/main.py\n```\n\n5) Test client in your browser: [http://localhost:8080](http://localhost:8080).\n\n## Deploying to Heroku\n\n1) Create a new Heroku app:\n```\nheroku create [APP_NAME]\n```\n\n2) Deploy code to Heroku servers:\n```\ngit push heroku master\n```\n\n3) Open Heroku app in browser:\n```\nheroku open\n```\nor visit [http://APP_NAME.herokuapp.com](http://APP_NAME.herokuapp.com).\n\n4) View server logs with the `heroku logs` command:\n```\nheroku logs --tail\n```\n\n## Questions?\n\nEmail [battlesnake@sendwithus.com](mailto:battlesnake@sendwithus.com), or tweet [@send_with_us](http://twitter.com/send_with_us).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentmacdonald2%2Fbattle-snake-2017","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentmacdonald2%2Fbattle-snake-2017","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentmacdonald2%2Fbattle-snake-2017/lists"}