Em Andamento

C++ class for TicTacToe

Create a C++ class called TicTacToe for use in playing the game tic-tac-toe. Recall that the game is played on a 3 x 3 board, where every square is either empty, or contains an “X?? or an “O??. The game is won when there are three "X" s or "O" s in a straight line, either in the same column, the same row, or the two diagonals. The game is a stalemate when the board has no empty squares, but neither X nor O has won. The following includes references to an enumerated type player, defined as: Enum Player {X, O, empty}; The C++ class must have the public methods of: TicTacToe: (constructor) This initializes the board, which means it sets all the positions to empty, and makes the board ready for use. void Place(P, Column, Row): A method that takes a player “P?? and sets the Column and Row of the board to be Player “P??. int Win(P): A function that returns 1 (one) if Player “P?? wins the game, and 0 (zero) otherwise. int Stalemate(): A function that returns 1 (one) if the board represents a game in stalemate, and 0 (zero) otherwise.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

BORLAND C++ VERSION [url removed, login to view]

Habilidades: Programação C, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: row 44, public programming, programming board game, programming function, programming enum, borland c, tic tac, tic tac toe game, the c, c p, program tic tac toe, tic tac toe code, straight line php, tic tac toe borland, borland source code, recall, tic tac toe programming, programming tic tac toe, zero distribution, player tic tac toe, borland source, tic tac toe type, type code win, row game code, condition zero game

Acerca do Empregador:
( 32 comentários ) United States

ID do Projeto: #2954435

Premiar a:

nooneyouknow

See private message.

$5 USD em 15 dias
(17 Avaliações)
3.7

24 freelancers estão ofertando em média $18 para este trabalho

DFlor

See private message.

$12.75 USD in 15 dias
(25 Comentários)
6.2
lvdt

See private message.

$11.05 USD in 15 dias
(101 Comentários)
5.1
michaeldweber

See private message.

$17 USD in 15 dias
(35 Comentários)
4.6
vw139994vw

See private message.

$42.5 USD in 15 dias
(59 Comentários)
4.4
preyasvw

See private message.

$8.5 USD in 15 dias
(34 Comentários)
4.4
vw821235vw

See private message.

$12.75 USD in 15 dias
(94 Comentários)
4.3
exceptionalcoder

See private message.

$46.75 USD in 15 dias
(9 Comentários)
4.1
teamvw

See private message.

$17 USD in 15 dias
(35 Comentários)
3.8
always99vw

See private message.

$5.1 USD in 15 dias
(22 Comentários)
3.4
vw174684vw

See private message.

$12.75 USD in 15 dias
(11 Comentários)
3.1
lonapz

See private message.

$12.75 USD in 15 dias
(10 Comentários)
2.8
yedidyaweil

See private message.

$12.75 USD in 15 dias
(4 Comentários)
2.6
imidebest

See private message.

$42.5 USD in 15 dias
(7 Comentários)
2.5
tekguyvw

See private message.

$38.25 USD in 15 dias
(10 Comentários)
2.5
hsswe1

See private message.

$12.75 USD in 15 dias
(8 Comentários)
2.5
vw547142vw

See private message.

$10.2 USD in 15 dias
(18 Comentários)
2.4
kitovw

See private message.

$6.8 USD in 15 dias
(5 Comentários)
1.9
aromanvw

See private message.

$8.5 USD in 15 dias
(3 Comentários)
1.3
csmbavw

See private message.

$51 USD in 15 dias
(1 Comentário)
1.3
jmukesh

See private message.

$10.2 USD in 15 dias
(2 Comentários)
0.0