Hack Forums
[Java] Java TicTacToe (w/ GUI) - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Java] Java TicTacToe (w/ GUI) (/showthread.php?tid=4655766)



Java TicTacToe (w/ GUI) - High On Quack - Jan 26, 2015

Only the 2 Player works :(.
Here is what it looks like:
[Image: AuW22kCl.png]

Here is a link to the code: https://github.com/highonquack/JavaTicTacToe

I hope this code can help you all to better understand the swing package in Java.

If anyone has any questions shoot me a pm I would be glad to help.

Have a nice day! 🙂


* - Conspiracy - Jan 27, 2015

I'm going to take a look at this, Programming is one of my weaker modules in my course, I'll let you know how I get on :)


* - Ichi - Jan 28, 2015

This is really neat, OP. Thanks for sharing!


* - MrOrang - Jan 28, 2015

Thats pretty neat, looking at your code the other player is the computer right?

Would be fun to have an ai vs ai xD


* - c x y k - Jan 28, 2015

(Jan 28, 2015 11:14 AM)Looka Wrote:  Thats pretty neat, looking at your code the other player is the computer right?

Would be fun to have an ai vs ai xD

I'm sure you could quickly do that with a few more lines of code


* - Phobiic - Jan 28, 2015

hey dude is there anyway i can get assistance on this stuff via skype? please pm. thanks.


* - High On Quack - Jan 28, 2015

I am happy to assist anyone! Pm me asking for my skype!


* - karmakaidan - Jan 29, 2015

This is actually really helpful for me. I do not have much experience with making windows using Java so I will definitely be experimenting with this code to get a feel for it. Thanks a bunch.


* - blootooby - Jan 29, 2015

(Jan 28, 2015 11:14 AM)Looka Wrote:  Thats pretty neat, looking at your code the other player is the computer right?

Would be fun to have an ai vs ai xD

A friend of mine did that in a Visual Basic class at my school as a tribute to WarGames.

was funny


* - High On Quack - Jan 29, 2015

Yeah I cant wait to learn vb(.net). GUIs in java are really weird but have a lot of the same concepts. (like Action Listening)