It looks like, to get a headless mode working, I should just skip the
RoboWarX.GTK and instead make a new program that just instantiates an
arena object using LibRoboWar. A friend and I are playing with this
-- if you're around, Stéphan, feel free to drop me a line on IRC to
offer any advice :)
-- Randall
On Wed, Jan 21, 2009 at 10:39 AM, Randall Munroe <randall@...> wrote:
> I can ask Prfnoff about this tonight. I'll relay the answer here.
>
> I don't feel confident enough to do much with the current code, such
> as fill in the code for stunners or implement interrupts, but I may
> poke around and see if I can implement command-line mode somehow.
>
> -- Randall
>
> On Mon, Jan 19, 2009 at 2:48 PM, Stéphan Kochen <stephan@...> wrote:
>> On 19-01-09 17:30, Camden wrote:
>>> As for a sophisticated way of verifying, I'm not sure I can think of
>> one. But I think Kevin, Eric Foley, and I have a pretty intimate feel
>> for the mechanics since we were all reviewing the old mac source at
>> important points for the windows VB port. And others likely have as
>> well. I'd be happy to try to clarify any points you might have
>> questions about, though I'm honest enough with myself now to know I'm
>> not as interested in working as hands on on yet another rewrite. >.<
>>
>> Most of the simulation mainloop code in the C# version has a pretty
>> clear resemblance to the original; I pretty much copy pasted and then
>> rewrote parts.
>>
>> One thing I'm wondering about is the behavior of Random(). Both the
>> original and the C# version use whatever the system makes available, but
>> I doubt that's the same underlying implementation. Not sure if it should
>> be a focal point now, it's minor.
>>
>> Maybe if I can get my hands on the C compiler used to compile the
>> original RoboWar, I could add some functionality to the original RoboWar
>> for writing a binary log of sorts to a file; take a snapshot at every
>> chronon. Rather like modern games record replays. Implementing the same
>> in the C# version would then allow me to compare the logs and pinpoint
>> where things don't match.
>>
>> Know of a place where I can obtain that compiler? :)
>>
>> -- Stéphan
>>
>