This is a Tic Tac Toe game implementation in Jack language for the Hack platform. Please see Nand2Tetris project for more details.
This game uses Minmax algorithm for finding the computer move. Due to the exhaustive search, initial computer moves can take a while on slower computers. Note that computer cannot be beaten in the game. A good extension of this project will be to add difficulty levels such as easy and medium.
Check out the Youtube video for a demo of this game running in Hack VM emulator.