Tetrgi the Third
onYes, that's right. I've rewritten Tetrgi in another language. :)
First it was Visual Basic .NET. Riiiight.... it was implemented in a bad way in a language that would only run on Windows with a lot of libraries installed on the side.
Then it was C++. That was pretty much a literal translation of the VB.NET version, it was still implemented in a bad way. It also only worked on the platforms I could compile it for.
Now, I've rewritten Tetrgi in Java, which is pretty much guaranteed to work on any platform. Plus, it's implemented as XML, instead of the "search and replace the string" thing I had going on before. Right. I really don't know. However, now the language is much more stable and it even has a couple of new tags. It's also much easier, now, to create new tags.
One small problem, however, is that the language specification changed slightly when I changed the implementation to XML. Now, all tags must be closed (they can be closed in the starting tag, though). There are a few more slight changes such as the fact that you now cannot put
<COND>
tags in a room's<TEXT>
tag. There is a workaround for this, however, with the introduction of the<INIT>
tag. I am going to try to write the documentation so the language is usable.Anyway, Tetrgi 3.0 is now available from its downloads page. The file is called
Tetrgi-3.0.jar
. Have fun. :)
Comments