<< Back to Programming Forum   Search

Posts 1 - 5 of 5   
Warlight AI in JavaScript: 2016-10-31 20:17:51


Sai Kurogetsu
Level 56
Report
I've seen there is that official API for programming Warlight AIs, which is very nice of Fizzer. But it's written in C# and I'm allergic to C# and Java. Is there a way to code those bots in any sane language? JavaScript would be nice, I would just drop that code on my Node.js server, but PHP or Python is acceptable too. :v
Warlight AI in JavaScript: 2016-10-31 22:10:27

(deleted) 
Level 63
Report
For JS AIs, see http://theaigames.com/competitions/warlight-ai-challenge-2/getting-started, http://theaigames.com/competitions/warlight-ai-challenge/getting-started. You might want to check the WarLight blog as well for the announcements.

Edited 10/31/2016 22:11:03
Warlight AI in JavaScript: 2016-11-01 01:08:05


Norman 
Level 58
Report
Hello

Since the bot is running on your own computer, you are free in your language choice. I guess the easiest way is to look into the standard WarLight C# AI code for the stuff that is passed between the WarLight server and your server.

The problem is however that once you have written some working bot, you will have pretty much nothing to do with it. WarLight doesn't offer an arena for AIs, but then again you could invite some other players (human players) to play against your bot.
Warlight AI in JavaScript: 2016-11-04 23:28:10


Sai Kurogetsu
Level 56
Report
Okay, thanks! :D

I want a bot just to play with us in our clan games, so that's ok.
Warlight AI in JavaScript: 2016-11-06 02:37:48


l4v.r0v 
Level 59
Report
Is the communication between the bot and the server just over HTTP requests?
Posts 1 - 5 of 5