Find Jobs
Hire Freelancers

Create Tic Tac Toe Program Using Java

$10-30 USD

Folyamatban
Kiadva ekkor: több mint 4 évvel ezelőtt

$10-30 USD

Teljesítéskor fizetve
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.
Projektazonosító: 22618410

A projektről

8 ajánlat
Távolról teljesíthető projekt
Aktiválva: 4 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
8 szabadúszó adott átlagosan $25 USD összegű árajánlatot erre a munkára
Felhasználó avatár
As a full time java developer since 2010 I can help you with your board game. The requirements are clear.
$30 USD 2 napon belül
5,0 (83 értékelés)
5,6
5,6
Felhasználó avatár
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 2 napon belül
5,0 (24 értékelés)
4,1
4,1
Felhasználó avatár
let's do it NOW .
$20 USD 1 napon belül
5,0 (15 értékelés)
3,8
3,8
Felhasználó avatár
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 2 napon belül
4,8 (14 értékelés)
3,7
3,7
Felhasználó avatár
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 1 napon belül
4,9 (13 értékelés)
3,8
3,8
Felhasználó avatár
I am Just doing coding and build a awasome tic toe game. this game having multiple player to play this game.
$30 USD 2 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
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 1 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

UNITED STATES zászlója
BEACH PARK, United States
0,0
0
Fizetési mód hitelesítve
Tagság kezdete: nov. 30, 2019

Ügyfél-hitelesítés

További munkák ettől az ügyféltől

Java number set program
$10-30 USD
Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.