Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JerryKott/Battlesnake2017
Repository for the battlesnake.io competition code written in Cincom Smalltalk.
https://github.com/JerryKott/Battlesnake2017
battlesnake competition smalltalk visualworks
Last synced: 3 months ago
JSON representation
Repository for the battlesnake.io competition code written in Cincom Smalltalk.
- Host: GitHub
- URL: https://github.com/JerryKott/Battlesnake2017
- Owner: JerryKott
- Created: 2017-03-05T03:48:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-21T05:18:18.000Z (almost 7 years ago)
- Last Synced: 2024-04-08T02:23:59.967Z (7 months ago)
- Topics: battlesnake, competition, smalltalk, visualworks
- Language: Smalltalk
- Homepage: http://www.cincomsmalltalk.com
- Size: 50.8 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Battlesnake 2017
Repository for the battlesnake competition code written in Cincom Smalltalk. This code won a **2nd place in the final round in the advanced category of Battlesnake 2017**###The files
The two files here are a **parcel** file (Battlesnake Bundle.pcl) and a **source** (Battlesnake Bundle.pst) of the code written for the annual battlesnake code competition held in Victoria, British Columbia, Canada. Check out [battlesnake web site](http://battlesnake.io) for details about the competition.
The code here is exactly as run in the competition, for a snake named Medusa. A lot of it was written in a bit of a hurry, so it may not be commented up to the usual standards.###How to read the code:
You can read the **Battlesnake Bundle.pst** file but it's meant for a computer consumption, not really for humans. The **Battlesnake Bundle.pcl** file is the Smalltalk binary code. The two files are two different representations of the same thing. To be able to browse all the code, you will need a **VisualWorks 8.2 IDE**. A Personal Use License can be obtained at no cost from [Cincom Smalltalk web site](http://www.cincomsmalltalk.com/main/developer-community/trying-cincom-smalltalk/try-cincom-smalltalk/). VisualWorks is a cross-platform application development environment that runs on all major operating systems and CPU architecture - yes, even on a Raspberry Pi.
Once installed, and the IDE is up and running, you can load the **Battlesnake Bundle.pcl** parcel file to browse through the code and see the strategies and the algorithms used in the competition.###Can I run the code?
Well... you can run some of the unit tests to see the API in action. However, you won't be able to run an **actual game**, as that would require registration and login through the [battlensake game server](http://app.battlesnake.io) which I think cannot be done outside of the actual competition.**Happy Browsing!**