Christoffer Nygaard's Portfolio

Project: Tic Tac Toe (GUI)


The programming module was split into weekly assignments and daily assignments. If I'm not mistaken this was either week 6 or 7's weekly assignment and it was a rather fun one. We had some guidance from the teacher, but I did put a lot of extra thoughts into the design and we also had to do some of the coding on our own without help.


Originally I planned on making the CPU so good that you wouldn't be able to get anything else than draw, but ended up making some of his choices somewhat random so that it can make mistakes and be beaten. In fact, after 2-3 rounds most people end up getting Draw or Win against it. Tic Tac Toe is not that hard to counter to be fair, so there's a limit for how good one can be in it. This is also made in C, with some C++ and wxWidgets as the GUI was added to the core C code.


All in all I think it looks decent enough, and it's a fun and simple game that does exactly what it's supposed to do.


Version Number Compiled Date Download Link
Version 1.0 14.02.2016 (February build) Download


Start screen

Two Player mode

Vs Computer

Extra stuff