The Trosnoth source code repository can be accessed on Heptapod. You can clone the repository by clicking the Clone button at the top right of that page.
If you don't yet have a favourite Python editor, we recommend using PyCharm community edition. PyCharm gives you easy code navigation and static checking. We've even added some PyCharm project settings to the Trosnoth repo so you can easily spin up a Trosnoth server, play a Trosnoth solo game, or run the test suite.
Once you've got your IDE set up, and cloned the repository, you'll need to install the dependencies. Dependencies for the development version of Trosnoth are:
To start to get an understanding of how Trosnoth works inside, read Getting Started. The following how-to guides explain the process of some Trosnoth coding you might find interesting: