Kokua is a open source Trade Wars 2002 assistant with the goal of being very easy for the user to customize for their use. Every screen is defined in user-modifiable XML user interface files similiar to HTML. All actions are written in JavaScript, the scripting language of web pages, eliminating the difference between scripts and normal application behaviors. The initial emphasis of the project is to explore visualization and data mining.
Kokua was born out of a desire for an open source, Linux-compatible TW2002 helper, and a frustration working with the J-TWAT source code. J-TWAT was/is a great helper, but in an effort to build the ultimate helper, code organization was sacrificed to make way for development speed making it difficult to build upon. While Kokua borrowed many of the ideas of J-TWAT (like stream lexing triggers), Kokua is a complete rewrite. To encourage development, pains have been taken to cleanly separate functionality and push as much code into external scripts as possible. While JavaScript is used by default, many other scripting languages can be used. Furthermore, all TradeWars-related code has been separated from the main application to support other text-based games or applications.
Kokua is NOT an attempt to create the ultimate TW2002 helper or scripting platform. Helpers like SWATH and scripting proxies like TWXProxy have way more features than Kokua will probably ever have. Not that I'm against the idea of a fully-featured TW helper, I just don't have time or motivation.
Contributions and feedback are very welcome.
Homepage:
http://www.twdata.org/kokua
Don