I have made my Starcraft 2 bot Tyr open source! It is available in GitHub under an MIT licesnse. The MIT license allows you to use it for any purpose, including commercially, so long as the license is distributed together with the original parts of the code. Please feel free to take parts of the code, or even use it as a base to build your own bot. If you have any problems setting it up, or if you would like some help figuring our how the codebase is set up you can leave a comment. Have fun!