Archive for the 'Programming' Category

Nace on

Thursday, February 1st, 2007


I have submitted a project I have been working on to source forge under the GPL license.

The project is called ‘Nace’ which initially stood for ‘Naughts and crosses elite’.


Nace is a board game in which 2 players choose places on a grid, the winner is the first player to connect the defined connection length of their colour in a row either diagonally, horizontally or vertically.

Game play is challenging and can be as simple as Tic-tac-toe or as complex as Gomoku (Ancient Japanese board game) both of which can be played.

The game is unique because it allows customizable game play rules including board width & height and the length of the connection needed to win.


2 player (same computer) , networked game, AI (very limited, see future section), and game play settings.

Network chat and preset games(Tic-tac-toe & Gomoku).


Basically the project started out as a Swing (JAVA GUI Library) version of the game Tic-tac-toe.

I then changed game play to allow the player/s to specify the width height and winning connection length of the game.

Next, while learning about threads and networking in JAVA I added networked games with chat.


Although the game engine is basically complete AI games still need allot of improvement. Much of which at the current point in time is to hard for me alone to understand and implement.

I submitted to Source forge hoping that other interested programmers can help develop this with me.

AI would generally consist of using the Minimax algorithm.

Different difficulty levels of AI could be adjusted in which level the Minimax is alpha-beta pruned to.

I would also like to allow every one interested to learn from the project as I did while developing it. I feel the code is well documented.

My initial vision of the game was to allow the players to create their own rules to ‘the game’ by providing many settings and options.

Please contact me if you can help or are interested.


The download the game: Here

The source code is:

svn co nace

Tasks can be found: Here

Screen shots

Main game board with game settings window

Server hosting and client connecting

Player chat while playing a networked game