QUOTE(no2pencil @ 2 Oct, 2007 - 10:22 AM)

QUOTE(Smarf @ 2 Oct, 2007 - 10:16 AM)

- Is there a way to tell what language a program was written in?
Generally, the file extention &/or platform it is being used in.
Sorry but I'm new to programming and currently only taking VB 2005 & C++ classes. Both of the IDE's create .exe files and I'm not sure how I could tell an exe was a C++ or VB based program.
QUOTE(Smarf @ 2 Oct, 2007 - 10:16 AM)

- For the algorithm portion, let's say you're making something to play Texas Holdem Poker automatically. If you, the programmer, aren't an expert exactly then how would you teach a computer (ie program) to play and win?
QUOTE(no2pencil @ 2 Oct, 2007 - 10:22 AM)

You would code logic. The program (computer) wouldn't make a decision, it would filter results based on comparisons to data.
I'm not sure what the second part means, sorry. It's kind of hard to grasp for me because it seems like to make a good AI you'd have to be one yourself, especially if the game is mental (chess, card games) vs. physical like first person shooters etc.