February 20th, 2008, 11:26 AM
Tic Tac Toe vs. Computer
I homeschool my kids and our project for this "term" is to make an online version of Tic Tac Toe. The kids have already done all the prep work of getting the logistics of the game (if player one goes here, the next spot is...) and we are ready to start coding with a hard coded AI. First, they want to be able to play against the computer ( a future project would be to be able to connect to play to another opponent over the net, but that will be once the first one is done! .
So my "graphic capacity" on the web is very limited, and I am not sure what would be the best language to use to do this.
Here is our idea, would be very happy for some suggestions on how to realize this:
The kids want it to look something like this :
So they want to be able to click on the "marble" and drag it in the space on the board.
If that is too hard, the other option would be to click on your player color, and click on the space on the board and have it turn that color, they are open to that idea too.
(the reason for this look is they also want to do the game TOC, that is a marble game here, so they would have the "look" down and just have to redo the heuristics).
thanks for any help on how to realize this project!
February 20th, 2008, 12:46 PM
And, after picking your chosen technology, the next step would be to get really familiar with it.
When you ask a question, be prepared to tell us: what have you tried? If you think you don't need to try anything, we will never be interested in helping you. If you agree with the link, and you refuse to answer that question, you are being a hypocrite.
Need help with broken code? Your question should be like a good bug report: (1) It has the smallest number of steps to reproduce the problem you see (2) It tells us precisely what you expected to see and (3) It tells us what you saw and how it differed from what you expected. We need all three to help you.
Want better answers? Tell us what you Googled for and what steps you took to answer your own question.
March 3rd, 2008, 03:02 PM
You might be looking for something more advanced but check this out:
(an already done tic tac toe http://scratch.mit.edu/projects/SenatorPenguin/1425 )
It's a drag and drop basic visual game editor. It's what my lecturer is making our class in college use. It'll be pretty good for a simple game like Tic tac toe. Take a look at some of the games in the gallery, some of them are VERY good.
Last edited by calpol2004; March 3rd, 2008 at 03:08 PM.
March 3rd, 2008, 09:06 PM
One thing to consider is what you want to acomplish with this project in the way of computer development experience. If your idea is to try and learn all the things that go into creating a video game with all the "bells and whistles", I would recommend you look into creating an applet and use the AWT graphics functions, as well as the mouse event listener functions. Just my personal opinion, but I disagree that Java applets are "fading". There are countless possibilities with Java applets, from the most basic to fully interactive hardware-accellerated 3D video games.
Of course, being new to Java, you will have to overcome a bit of a learning curve and do some research, but I think it could be a great learning experience. You can always post here with any questions about specific problems you run into along the way.