I want draw a line in SDL this is new to me so I am unsure of how to start.
drawing lines in SDL
I am working on a simple little tic tac toe game using sdl my only problem is how to implement the computer player
you can't implement minimax by drawing lines in SDL.
Dev careful. Pixel on board.
pbivens67 said:
my only problem is how to implement the computer player
Make it play at a random valid position at first, and improve from there.
Optimal play (as in, aiming for the shortest way to winning) is a solved problem, but it's so good that you have no chance at all (especially if it plays first). Thus I think it should play lass than optimal, for the player to have fun.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement