TWCore is an open source bot core written in Java maintained by qan. Widely used in Trench Wars(TW), it can be downloaded from here. It's rivals include MERVBot and Powerbot.