It is currently 24 Aug 2025, 15:14
   
Text Size

Using Forge AI off the Forge

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Using Forge AI off the Forge

Postby Golob » 19 Oct 2013, 23:13

Hello,
is there any simple way (i.e. there are classes/methods/interfaces for that) to make forge run an AI match between to decks given on input and to get some data on the ending situation on the output (which deck won at least, but table situation would also be cool)?
I'm on my way to do some programming which would test my decks against each other automatically, and possibly I could fork a genetic algorithm of that.
Golob
 
Posts: 16
Joined: 06 Aug 2010, 13:06
Has thanked: 0 time
Been thanked: 1 time

Re: Using Forge AI off the Forge

Postby Max mtg » 20 Oct 2013, 10:02

Yes, you can run AI vs AI simulations, see the forge.net.FServer.simulateMatches(String[]) method.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times


Return to Forge

Who is online

Users browsing this forum: W3C [Validator] and 49 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 50 users online :: 1 registered, 0 hidden and 49 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: W3C [Validator] and 49 guests

Login Form