Find Jobs
Hire Freelancers

Implementation of Gomoku game

$30-250 USD

Đã đóng
Đã đăng vào khoảng 13 năm trước

$30-250 USD

Thanh toán khi bàn giao
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.
Mã dự án: 1047330

Về dự án

1 đề xuất
Dự án từ xa
Hoạt động 13 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
1 freelancer chào giá trung bình $90 USD cho công việc này
Avatar người dùng
I can help you,please check your pm,thanks.
$90 USD trong 1 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của UNITED STATES
fort collins, United States
5,0
1
Thành viên từ thg 5 4, 2011

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.