Færdiggjort

implement a GUI to play Tic Tac Toe using Java

**Overview**

You are required to implement a GUI to play Tic Tac Toe using Java. A screen dump of the running program is available. This will give you an idea of the scope of the project.

**Detail

**

Your GUI should extend a JFrame and consists of two JPanels (one black, one pink).

The black panel should have 9 yellow panels to support the game. The pink panel supports three labels and associated JTextFields and one button. The colours **must** be as described.

Play is by clicking on a panel. The demo changes the colour but you can substitute an icon for "X" and "O" if you wish. The game should stop when a winner is announced or 9 moves have been made. The game should announce a draw when appropriate.

You will need to keep an internal representation of the game, as well as the GUI, for checking for wins, draws etc.

## Deliverables

| Criteria looking at GUI | Mark |

|:---------------------------------------------------------------------------- |:------- |

| program compiles without errors | assumed |

| program runs and terminates when window closes | 5% |

| title "Tic Tac Toe Game" appears | 5% |

| 9 yellow playareas on black background at top of GUI | 5% |

| pink panel at bottom of GUI | 5% |

| "next to play" text and associated textfield exist | 5% |

| associated textfield initialised to "x" | 5% |

| "status" text and associated textfield exist | 5% |

| "result" text and associatedtextfield exist | 5% |

| "new game" button exists | 5% |

| playarea turns red(green) when X(O) clicks | 5% |

| click or red or green area causes "illegal move" to appear in status field | 5% |

| "illegal move" disappears as cursor moves out of box | 5% |

| "next to play" changes on each move | 5% |

| on a winning move, "win for X/O" appears in result | 5% |

| after 9 moves and no winner, "Drawn Game" appears | 5% |

| restart button sets boxes yellow, "X" next to play, clears status and result | 5% |

| "X" (red) first to play in restarted game | 5% |

| No move beyond 9th should be recognised i.e. no "illegal Move" message | 5% |

| | |

| | |

Criteria looking at code

* expect to see use of array or vector of panels, not 9 different variables

* general quality of code

* indenting

* commenting

* private variable

* modularisation

Above criteria might be altered slightly to take account of submissions which vary in unexpected ways but the items of concern will not alter although the weighting might alter slightly.

Submit a single java file only. The file needs to compile and run. your code

## Platform

Run on Windows PC platform using IE or Netscape

Evner: Apple Safari, Ingeniørarbejde, Spil Design, Google Chrome, Java, MySQL, PHP, Software Arkitektur, Software Testning, Web Hosting, Hjemmeside Management, Hjemmeside Testning

Se mere: tic tac toe java using panels, gui array tic tac toe game java, program tic tac toe java using gui, red vector, red or black, pc icon, icon play, icon for pc, c vector array, vector game, tic-tac, tic tac, Tic tac toe Game, tic tac toe c, slightly alter, play, needs to vector, java play, java file, implement

Om arbejdsgiveren:
( 1 bedømmelse ) Cape Verde

Projekt ID: #3204730

Tildelt til:

uknight

See private message.

$17 USD in 3 dage
(18 bedømmelser)
3.2

23 freelancere byder i gennemsnit $38 på dette job

bbarar

See private message.

$51 USD in 3 dage
(319 bedømmelser)
6.0
emilianbold

See private message.

$27.2 USD in 3 dage
(80 bedømmelser)
5.9
utopiaprogr

See private message.

$42.5 USD in 3 dage
(62 bedømmelser)
5.4
unamigo

See private message.

$12.75 USD in 3 dage
(49 bedømmelser)
5.2
alcanta

See private message.

$59.5 USD in 3 dage
(28 bedømmelser)
4.9
zatvw

See private message.

$63.75 USD in 3 dage
(6 bedømmelser)
4.1
bogdan123vw

See private message.

$34 USD in 3 dage
(48 bedømmelser)
3.8
eudjtt

See private message.

$21.25 USD in 3 dage
(11 bedømmelser)
3.8
grayfacedbu

See private message.

$20.4 USD in 3 dage
(39 bedømmelser)
3.5
gibex

See private message.

$21.25 USD in 3 dage
(35 bedømmelser)
3.3
rsudomo

See private message.

$29.75 USD in 3 dage
(12 bedømmelser)
2.9
Meenad

See private message.

$85 USD in 3 dage
(2 bedømmelser)
2.7
ganeshsoftw

See private message.

$84.15 USD in 3 dage
(7 bedømmelser)
2.7
jeremiahmcl

See private message.

$21.25 USD in 3 dage
(3 bedømmelser)
2.2
danbrady

See private message.

$8.5 USD in 3 dage
(7 bedømmelser)
1.8
gentavw

See private message.

$25.5 USD in 3 dage
(2 bedømmelser)
1.6
droid1vw

See private message.

$59.5 USD in 3 dage
(0 bedømmelser)
0.0
objectivede

See private message.

$12.75 USD in 3 dage
(0 bedømmelser)
0.0
akshayvaidya

See private message.

$57.8 USD in 3 dage
(0 bedømmelser)
0.0
chitrangvw

See private message.

$21.25 USD in 3 dage
(0 bedømmelser)
0.0