Tic Tac Toe

The problem is devised in a way to put your skills to the test. These are the same skills which we are looking for to fill a particular position.

Tic Tac Toe

Goal

Create a NxN Tic Tac Toe game

Task

- The game should be played by a human (player) against a computer

- Artificial Intelligence (AI) is not necessary. Feel free to use random for computer moves, but

make sure it is not against the game rules. On the other hand, those candidates who provide

some form or Al where the computer would make an attempt to win (not only random moves)

will get bonus points

Requirements

The game should have two variants — the player begins, or the computer begins

Quote

”Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."

Solution

Your source code should demonstrate:

- your programming style

- usage of object oriented programming principles

- best practices of programming language in which you've created the game (naming

conventions, usage of comments, code structure, handling of error states, avoidance of

dangerous or error prone constructs)

 

Please send us your solution to: challenge@joineset.com