Play
Multi-Player
Coins
Community
Settings
Help
Community   Maps   Forum   Mail   Ladders   Clans   Recent Games
Sign In | Sign Up
<< Back to Programming Forum   

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


Sai Kurogetsu
Level 55
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: 10/31/2016 22:10:27


DanWL
Level 61
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: 11/1/2016 01:08:05


Norman 
Level 57
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: 11/4/2016 23:28:10


Sai Kurogetsu
Level 55
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: 11/6/2016 02:37:48


knyte 
Level 58
Report
Is the communication between the bot and the server just over HTTP requests?
Posts 1 - 5 of 5   

Contact | About WarLight | Play Risk Online | Multiplayer Strategy Game | Challenge Friends, Win Money | Skill Game | Terms of Service