Page 1 of 1

Headless mode for XMage

PostPosted: 12 Feb 2021, 12:56
by t3chn0l0g1c
is it possible to run XMage headless, like forge? (AI vs AI games in batch mode)
Or has anyone already hacked a setup for that in any IDE?

i´m looking into that myself currently, but since its a rather large project, better ask if someone has already something available...

Re: Headless mode for XMage

PostPosted: 19 Feb 2021, 00:33
by JayDi
Yes, it possible. Look at LoadTest.java -- it have example for AI plays and results check (run one game, run multiple games parallel/queued, etc). It's a unit tests that can be runs from IDE or by maven commands. Wiki page can help with testing.