Implementation of Gomoku game

Write a program to play Gomoku on a 19x19 board. The player that makes five-in-a-row

(horizontal, vertical or diagonal) wins. We adopt the free style version of the game ---meaning, five or more in a row is a win.

The board has a 19x19 grid. The columns are labeled A, B, …, T from left to right. The rows are labeled 1, 2, 3, …, 19 from bottom to top. Each intersecting position is labeled by the coordinate, that is the name of the column (a letter) followed by the name of the row (a number), e.g. K10, L9, etc.

You can use whatever programming language you like. The interface of the program is as follows (a GUI interface is welcome but is not required):

The program should be in an eternal loop, waiting for the input, which is the coordinate of your opponent's move; and giving an output of the coordinate of your move. The input for the first move is O0 (Letter O followed by zero) as a convention. The letters should not be case sensitive. If one player wins, the loop should terminate and output the winner. If there is a tie, the program should report the result being a tie.

Compétences : PHP, Architecture Logicielle

en voir plus : top programming language, programming board game, input board game, horizontal architecture, g programming language, game programming language, free game programming software, first programming language, e programming language, b programming language, game programming software, row b, letter G, Game programming, game gui, game board, board game, grid program, number grid columns, vertical php, gui game programming, grid tie, vertical columns, number game, input program gui

Concernant l'employeur :
( 1 commentaire ) fort collins, United States

Nº du projet : #1047330

1 freelance fait une offre moyenne de $90 pour ce travail


I can help you,please check your pm,thanks.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)