{"id":13692599,"url":"https://github.com/hirethissnake/2017","last_synced_at":"2025-05-02T19:32:21.930Z","repository":{"id":78145269,"uuid":"82865278","full_name":"hirethissnake/2017","owner":"hirethissnake","description":"A Python AI for competition in the BattleSnake 2017 competition. We're gonna crush those other snakey fools!","archived":true,"fork":false,"pushed_at":"2017-10-05T06:34:01.000Z","size":932,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-24T22:00:08.431Z","etag":null,"topics":["ai","battlesnake","hackathon","snake"],"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/hirethissnake.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-02-23T00:09:07.000Z","updated_at":"2025-04-01T19:14:44.000Z","dependencies_parsed_at":"2023-03-12T03:39:20.004Z","dependency_job_id":null,"html_url":"https://github.com/hirethissnake/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/hirethissnake%2F2017","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirethissnake%2F2017/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirethissnake%2F2017/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirethissnake%2F2017/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirethissnake","download_url":"https://codeload.github.com/hirethissnake/2017/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252095400,"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":["ai","battlesnake","hackathon","snake"],"created_at":"2024-08-02T17:00:59.941Z","updated_at":"2025-05-02T19:32:21.524Z","avatar_url":"https://github.com/hirethissnake.png","language":"Python","funding_links":[],"categories":["Battlesnakes"],"sub_categories":[],"readme":"## Sneaky Snake\n\nA aggressive / defensive Battlesnake implementation. Written by Phil Denhoff, Daniel Frankcom, Eric Showers, Kyle Thorpe, and Alex Welsh-Piedrahita.\n\nCurrent feature list is in the `.docx` file. \n\n### Running / Installing\n\nInstall the Microsoft Visual C++ compiler for Python 2.7 from [aka.ms/vcpython27](http://aka.ms/vcpython27).\n\nThe required Python packages are listed in `requirements.txt`. They can be batch installed, as an administrator (use sudo), with\n\n```\npip install -r requirements.txt\n```\n\nand python-igraph can be installed by following instructions at\n[python-igraph install](http://igraph.org/python/#pyinstall). For Windows, use Christoph Gohlke's unofficial installers (pick *-cp27), and\n\n```\npython -m pip install /path/to/igraph.whl\n```\n\n ---\n\nDependencies should be visually confirmed to be installed with\n```\npip list\n```\n\n## battlesnake-python\n\nA simple [BattleSnake AI](http://battlesnake.io) written in Python.\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 [phildenhoff@gmail.com](mailto:phildenhoff@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirethissnake%2F2017","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirethissnake%2F2017","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirethissnake%2F2017/lists"}