Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 ai in monopoly
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
hey_joe42




PostPosted: Sat Mar 29, 2003 4:03 pm   Post subject: ai in monopoly

anyone have any ideas of how to do ai for a monopoly game?
im conufsed cuz like there has to be a strategy or does anyone know strategy you could use in monopoly
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Sat Mar 29, 2003 4:10 pm   Post subject: (No subject)

basiclky buy everying you land on if you got the money Wink
Asok




PostPosted: Sat Mar 29, 2003 4:12 pm   Post subject: (No subject)

I've made a full monopoly game (wont post it cuz it's ugly as shit Wink )

anyways the AI is fairly simple, it will buy anything it lands on if it can afford it. it will buy houses if it has a monopoly and if it can afford it. It will use get out of jail free cards or pay 50 dollars (if it can afford it) rather than rolling.

It gets complicated when you attempt to put in a trade and mortgage system. It will mortgage the properties that have the least probability of being landed on (can be done through variable counter keeping track of how many times a property has been landed on). It will unmortgage when it has a monopoly and wants to build a house.

It will attempt to buy a property off of the player for 50% over the actual value in the event it will give the AI a monopoly.

It's all conditional ifs and variable statements.
DarkHelmet




PostPosted: Fri Apr 04, 2003 9:20 am   Post subject: (No subject)

I tried to write a monopoly program for my final project. The coding was too long, unpleasant to look at, and it would crash turing after you got around the board. I didn't give it computer players, and the trading didn't work properly. Despite all this, I got 95% on it. I couldn't believe it.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: