0

If you make a game "computer vs Human" what are some code you can write for "computer" to win instead of playing randomly?

3rd Apr 2017, 5:40 PM
Agents B CM
Agents B CM - avatar
3 Answers
+ 6
depends on the code
3rd Apr 2017, 5:52 PM
Meharban Singh
Meharban Singh - avatar
+ 6
You might try to teach it. Or to apply scaling/grading to all possible decisions - awarding positive moves and punishing bad ones. In checkers or chess a good move is a one that does not put you in an immediate loss situation in the next move. A bonus here, if by this move you make your opponent lose a pin, yet another bonus if you make a check (or reach a queen in checkers). And so on...
3rd Apr 2017, 6:33 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar