Daniel Petersen's Blog

Documenting my struggle to make videogames, amongst other nonsense


Home Projects

Tic Tac Toe

You can’t learn how to program without creating good old tic tac toe. I created a console version of the game, with a fully functional AI. The AI chooses its moves randomly, but would go for a win if it saw two O’s in a row. It had logic to block you so that you’d never win, but to make the game playable it would only block you about 75% of the time.

Built with C++


Copyright © - Daniel J. Petersen