Xs&Os Java App

Cerrado Publicado hace 5 años Pagado a la entrega
Cerrado Pagado a la entrega

Looking to develop a Java application that simulates the game X&O's

XOX game = new XOX(Boolean goFirst);

As the name suggests, creating a XOX object should spawn a window that allows the user to play a game of XOX. The Boolean input argument indicates whether the user goes first. If true, the user goes first. If false, the computer goes first.

2. You may use any combination of Swing components and graphics to draw the game and the Xs and Os. You have creative freedom here. Represent and visualize X, O, and the game board in any way you like.

3. You will use a MouseListener. When the user left-clicks on a square, it should draw an ‘O’. The user is always ‘O’s. The ‘O’ should appear centered in the tile – not just naively where the user clicks. If the user clicks in a square already filled, nothing should happen. Likewise, if the user clicks outside the game board entirely, nothing happens.

4. After the user clicks, the game should wait 0.5 seconds before making the computer’s move. I’m not expecting you to implement any complex AI. The simplest way to handle the computer’s move is to simply pick a random square from those remaining and set it to ‘X’.

5. If the user wins (gets three ‘O’s in a row), the background color of the game should turn green. If the computer wins, the background should turn red. If the game is a draw, the background should turn yellow. In any case, the game is now over. Proceed to 6).

6. When the game ends, an “Exit” button should appear, allowing the user to exit the game when clicked. The window should close.

Must be completed by 11/11/2018 @ 2:00pm eastern time

Android Java JavaFX Desarrollo de apps móviles Arquitectura de software

Nº del proyecto: #18134142

Sobre el proyecto

3 propuestas Proyecto remoto Activo hace 5 años

3 freelancers están ofertando un promedio de $64 por este trabajo

imRaziel

hi. i know java and swing. i can do it .

$50 CAD en 1 día
(40 comentarios)
5.5
Farhan81o

yes sir i can do it as i have the year java development experience

$111 CAD en 4 días
(4 comentarios)
2.1
kenavpatel

I have done this kind of project in past if you want i can able to show you that as well. Holding 2+ years of experience on java so I am sure to make this done. hoping to see you soon

$30 CAD en 3 días
(2 comentarios)
1.4