Skip to main content

Java Card Game - Programming simple AI

1 reply [Last post]
Joined: 2010-05-02


I'm fairly new to the whole Java programming scene, but I've gotten some experience through my university classes and various textbooks. Now I feel like trying something a bit more interesting: programming an application basically functions as a card game (with one human player and two or more AI players for instance).Now, I realize this may be a way too ambitious project, but I want to try none the less. I've been doing some reading on the subject of AI programming and found something about a neuron based apporach to the problem (where one stores the AI's memory in an arraylist), and I wonder if anyone had some pointers to either:

a) Some more material on the subject of AI programming in Java
b) Some hints or tips to offer (or even snippets of code) on how to program this sort of application.

Thanks in advance! :)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-11-01

I suggest you look at other "open source java card games" i.e. using a search engine and see how they are written.

Neuron based approach is useful for many continous inputs where the problem space is not well understood. It is not so useful for descrete, turn based, rule based games. Card games are designed to be simple and easy for a human to understand.