View Code? Open in Web Editor
NEW
Le gomoku, du nom japonais gomoku narabe est le nom japonais d'un jeu de plateau chinois, où il est nommé Wǔzi qí consistant à aligner 5 pions sur les intersections d'un plateau de jeu de go.
Go 85.97%
Python 1.18%
PowerShell 11.92%
Shell 0.94%
gomoku's People
Watchers
gomoku's Issues
Create an algorithm that will:
figure out if the enemy is making a line and block him:
look horizontally, vertically, diagonally,
look further down the line for a piece of the same comb;
figure out if we can make a line and complete it;
place something randomly.
Installation should be handled with a compile.py
script.
Steps to install:
create a folder called gomoku
inside ${GOPATH}/src/
copy the sources to ${GOPATH}/src/gomoku/
run go build gomoku/pbrain-pepito
to produce pbrain-pepito.exe