Jump to content


Code your own AI for the board game Risk


16 replies to this topic

#1 dustin

    New Member

  • Members
  • Pip
  • 9 posts

Posted 23 July 2004 - 08:01 AM

The LuxAgent SDK provides everything that you need to create your own Risk playing AI. It includes API documentation as well as the GPLed java source code for the 10 AIs that I have written. The game engine used to run the AIs is the game Lux (bias alert - I created it), which can be run on Windows, Mac OS X, or Linux. It generalizes the board game Risk so that it can be played using any map. Each board can be nicely modeled as a graph of countries.
My name is <a href='http://randomdude.com' target='_blank'>Dustin</a>.
I am the creator of the <a href='http://sillysoft.net' target='_blank'>Risk game</a> Lux.

#2 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 23 July 2004 - 08:21 AM

cool
could you elaborate on the AI ?
If Prolog is the answer, what is the question ?

#3 robocop

    New Member

  • Members
  • PipPip
  • 23 posts

Posted 24 July 2004 - 03:27 AM

This is nice!
Could u tell me how exactly did u model it as graphs?
Its not over, until its over

#4 dustin

    New Member

  • Members
  • Pip
  • 9 posts

Posted 02 August 2004 - 03:35 PM

What sort of elaboration would you like? If you download the SDK there is lots more info inside. Basically it allows you to do anything that you can in the board game Risk.

It models itself as a graph. A map in Risk is a set of countries that connect to other countries. Thus it is exactly the same as a graph of nodes with some connections.
My name is <a href='http://randomdude.com' target='_blank'>Dustin</a>.
I am the creator of the <a href='http://sillysoft.net' target='_blank'>Risk game</a> Lux.

#5 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 02 August 2004 - 04:49 PM

i hereby encourage you to write a small article about your AI and publish it here on devmaster ;)
If Prolog is the answer, what is the question ?

#6 Dia

    DevMaster Staff

  • Administrators
  • 1120 posts

Posted 02 August 2004 - 07:51 PM

Good idea! :)

#7 NomadRock

    Senior Member

  • Members
  • PipPipPipPip
  • 785 posts

Posted 25 August 2004 - 06:02 PM

This is a very very interesting idea. Especially being able to make your own maps. I have a bunch of friends who love risk. I will try to convince them to check it out.

- nomad
Jesse Coyle

#8 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 25 August 2004 - 06:06 PM

WOHOOW NOMADROCK IN HERE! :D
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....

#9 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 25 August 2004 - 08:22 PM

you know each other ???
If Prolog is the answer, what is the question ?

#10 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 25 August 2004 - 08:38 PM

all fellow flipcoders:D
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....

#11 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 25 August 2004 - 08:40 PM

yeah, i figured...
If Prolog is the answer, what is the question ?

#12 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 25 August 2004 - 08:42 PM

hehe:D
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....

#13 NomadRock

    Senior Member

  • Members
  • PipPipPipPip
  • 785 posts

Posted 25 August 2004 - 11:02 PM

Yeah, I have been posting alongside dave for a while now. Now if only we can migrate the Epic boys we will be in business.
Jesse Coyle

#14 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 25 August 2004 - 11:10 PM

so, welcome to you, too
If Prolog is the answer, what is the question ?

#15 dustin

    New Member

  • Members
  • Pip
  • 9 posts

Posted 25 August 2004 - 11:19 PM

Well I don't know any of you, but I have been getting notifies of replies since I started this thread. There's a guy named EpicBoy at the indiegamer forum which I frequent. Here's his user page: http://forums.indieg...member.php?u=35
My name is <a href='http://randomdude.com' target='_blank'>Dustin</a>.
I am the creator of the <a href='http://sillysoft.net' target='_blank'>Risk game</a> Lux.

#16 NomadRock

    Senior Member

  • Members
  • PipPipPipPip
  • 785 posts

Posted 26 August 2004 - 04:17 AM

hehe, no sorry. I meant the guys who actually work at the company Epic making the Unreal engine. There are several over at flipCode, some very bright guys too. I am partial however, as they are all in possesion of my dream job. Oh well, back to working on Uni courses.
Jesse Coyle

#17 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 26 August 2004 - 12:30 PM

hm.. that rises my question how professional is each one of you.. i was coworker at starcraft3d till blizzard got unhappy... :D

that risk game sounds funny. though, i never played risk..
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users