| Author |
Java Monopoly Game AI and Neetwork
|
Nistor Alexandru
Greenhorn
Joined: Oct 08, 2011
Posts: 7
|
|
Hi I am a beginner Java programmer and for the last couple of weeks I have started to develop a Monopoly Game.Everything has gone very well and the game works in Player vs Player mode exactly the way I want it to work so far.I also created a dum AI that at the momentonly rolls and buys teritories.This is where I hit a wal , I have no Ideea how I should set the rulles for the AI so it can be more chalanging.
The first thing if I would like is if anyone can give a link t a Monopoly game with an AI (dosent mater if it has a src or not what matters if I can download it) so I can have a pick on what kind of rules I should set to the AI.
The second part is that I would also like some fast resources if anyone knows for how I can make the game playable via network.The same concepts will probably be aplied in a chat witch I would also like to add to the game but if not some aditional resources will be very mutch aprecieted.
Thank you!
|
 |
Wes McClintock
Greenhorn
Joined: Jul 19, 2011
Posts: 21
|
|
|
Well, I'm not sure, but I would start by making it differentiate between more valuable territories. for example, if the player holds 2/3 green territories, the AI would prioritize the green territory not owned by the player. It's been a while since I played monopoly, but maybe something like that would work. Sorry I couldn't be a bigger help.
|
 |
Ignas Sliuzas
Greenhorn
Joined: Oct 15, 2009
Posts: 13
|
|
I suggest finding some good books to read on AI, it's a pretty difficult subject and it requires a lot of planning.
On the networking side you should research socket programming. Should start with say: http://docs.oracle.com/javase/tutorial/networking/sockets/ and you will probably also need some knowledge on threading. You can find the basic info at http://docs.oracle.com/javase/tutorial/essential/concurrency/.
If you want I'm sure you could find some libraries for chat clients all over the internet, generally, just use google.
|
 |
 |
|
|
subject: Java Monopoly Game AI and Neetwork
|
|
|