Flowers is a Polished Tic Tac Toe game with 4 difficulties, including impossible to win.
http://www.youtube.com/watch?v=fZ_dYVePcPs#wshttp://brandonmcculligh.ca/ProjectPage.aspx?Category=GamesFlowers
Start Date: 4/20/2011
Lines of Code: 1944
Languages\Frameworks: C#
Great White North Engine
XNA
Authors: Brandon "Chester" McCulligh
Launch Location: Start -> Programs -> Brandon McCulligh
Operating Systems: Any Windows
After much consideration I decided to jump off of the raw DirectX and C# band wagon and give XNA a try as I have heard nothing but raving reviews about it.
I spent a week porting and rewriting the GWNorthEngine that I had built from the ground up to XNA and with a much cleaner code base. Afterwards I needed to write a simple game that touched on most (if not all) of the ported code to ensure it was all working properly on top of the XNA framework.
Since I love Tic Tac Toe I decided I will rewrite it again since the last one was years ago and the code was really butchered. I also didn't wnat to just write a clone of my older graphical game, I wanted to make a polished version of it to the best of my abilities given my (extremely) limitted artistic ability. Furthermore, from a code perspective I not only wanted to write it cleaner using the now ported XNA GWNorthEngine, I wanted to learn something new.
This brings us to the impossible difficulty. This difficulty setting will never play a less than perfect game, it will never play less than a tie. The way this works is via the MiniMax algorithm which essentially plays out every move on the board before making its actual move.
http://brandonmcculligh.ca/ProjectPage.aspx?Category=Games