Find Jobs
Hire Freelancers

Implementation of Gomoku game

$30-250 USD

Zamknięte
Opublikowano około 13 lat temu

$30-250 USD

Płatne przy odbiorze
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.
Identyfikator projektu: 1047330

Informację o projekcie

1 oferta
Zdalny projekt
Aktywny 13 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
1 freelancer składa ofertę o średniej wysokości $90 USD dla tej pracy
Awatar Użytkownika
I can help you,please check your pm,thanks.
$90 USD w 1 dzień
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga UNITED STATES
fort collins, United States
5,0
1
Członek od maj 4, 2011

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.