Find Jobs
Hire Freelancers

Create Tic Tac Toe Program Using Java

$10-30 USD

V teku
Objavljeno pred več kot 4 leti

$10-30 USD

Plačilo ob dostavi
Build a simple Tic-Tac-Toe game (Xs and Os). The game should be drawn using the StdDraw class (attached file) and the users should click on the window using the mouse input (also in the StdDraw library) to select their squares each turn. The game should maintain a valid board at all times and report a winner/loser/tie at the end of the game (correctly determining when the game has ended). The game should be played by 2 human players (you don't need to do a computer AI player for this program). Assume the two players are taking turns and clicking on their chosen squares. Only mark the board with the player's symbol according to their turn, when they click on an empty square. You can mark the squares however you like, just use 2 distinct markings (like the traditional X and O, for example). Notes: + You will need to keep track of which squares are occupied (and by which player) and which squares are available. One possibility is a two-dimensional array (3x3) of integers. A value of 0 could be empty, a value of 1 could be player 1, and a value of 2 could be player 2. + Starting with the 5th turn (player 1's third turn) you should start checking to see if the current player wins with their turn. As soon as a win is detected (3 in a row, 3 in a column, 3 in a diagonal), the game is over. Print a message or mark the board to show this, and do not allow any further turns. + After 9 turns the game is over, either with player 1 getting a win on their last (5th) turn or with no winner, a draw. Print a message or mark the board to show this, and do not allow any further turns. + Create your program in stages. Start by making the board. Then work on marking squares with clicks and keeping track of the turns. Then start looking to detect wins and draws.
ID projekta: 22618410

Več o projektu

8 ponudb
Projekt na daljavo
Aktivno pred 4 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
8 freelancerjev je oddalo ponudbo s povprečno vrednostjo $25 USD za to delo
Avatar uporabnika
As a full time java developer since 2010 I can help you with your board game. The requirements are clear.
$30 USD v 2 dneh
5,0 (83 ocen)
5,6
5,6
Avatar uporabnika
Hey, I am an experienced Java developer and have written a console blackjack and a tic-tac-toe game using JavaFX among other projects before. I can create the game you described within a short amount of time. Feel free to get in contact with me to discuss this further. Kind regards, Thorben
$25 USD v 2 dneh
5,0 (24 ocen)
4,1
4,1
Avatar uporabnika
let's do it NOW .
$20 USD v 1 dnevu
5,0 (15 ocen)
3,8
3,8
Avatar uporabnika
Hi sir I am interested to work with you. I can provide you professional web design services. I can design for you according to your requirements. I will give you unlimited revision until you will not satisfy for your design.I will deliver you this according to your time frame after your award. I can assure you several things. * I have expertise in Twitter Bootstrap, Angularjs, HTML5/CSS3, Php, java se,j2ee.... * I have a great web development sense. * Well organized and clean code easy to understand. * Validate according to w3c standards. * I can start it immediately. * Compatible with all modern browsers and mobile devices. Looking forward to hearing from you soon. Thank
$10 USD v 2 dneh
4,8 (14 ocen)
3,7
3,7
Avatar uporabnika
Hello Thanks for your posting. I am a senior developer so i can do it very easily if you want.I’ve read your job description carefully and I am very interested in your project. I am sure that I can finish this project of 100% result in short time with the reasonable budget
$55 USD v 1 dnevu
4,9 (13 ocen)
3,8
3,8
Avatar uporabnika
I am Just doing coding and build a awasome tic toe game. this game having multiple player to play this game.
$30 USD v 2 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
Hello greeting This is me kashif Hussain I am a C++, C#, python, java, developer I have a code in my system which you are asking? Contact me for more details... Thanks
$10 USD v 1 dnevu
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava UNITED STATES
BEACH PARK, United States
0,0
0
Plačilna metoda je verificirana
Član(ica) od nov. 30, 2019

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.