Game Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesGame Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 20th, 2008, 10:26 AM
ichbingreat ichbingreat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 8 ichbingreat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 49 sec
Reputation Power: 0
Tic Tac Toe vs. Computer

Hi Everyone!

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! .

My problem now is that I don't know what the next step is. I program websites and databases in PHP/MySQL, but only use javascript for form validation.

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 :

http://www.ideascometolife.com/tictac/index.html

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!

Christine.

Reply With Quote
  #2  
Old February 20th, 2008, 11:46 AM
Oler1s Oler1s is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 2006
Posts: 2,270 Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 4 Days 15 h 34 m 57 sec
Reputation Power: 1735
Figure out what technologies you will have to use. The whole marble dragging thing is pure browser side interaction. There's basically three technologies in current use that accomplish this. Flash, Javascript, and Java applets. Flash and Javascript (especially as part of AJAX) are incredibly popular, and Java applets have faded significantly.

So you might decide between Flash and Javascript. Notably though, Javascript is a freely usable language, while Flash is really Adobe's product and they charge for it. You can get a free trial, but, you see where I am going with it. Then again, it is incredibly popular because it can have interactivity that Javascript simply cannot.

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.

Reply With Quote
  #3  
Old March 3rd, 2008, 02:02 PM
calpol2004's Avatar
calpol2004 calpol2004 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 258 calpol2004 User rank is Sergeant Major (2000 - 5000 Reputation Level)calpol2004 User rank is Sergeant Major (2000 - 5000 Reputation Level)calpol2004 User rank is Sergeant Major (2000 - 5000 Reputation Level)calpol2004 User rank is Sergeant Major (2000 - 5000 Reputation Level)calpol2004 User rank is Sergeant Major (2000 - 5000 Reputation Level)calpol2004 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 5 Days 14 h 54 m 22 sec
Reputation Power: 53
Send a message via MSN to calpol2004
You might be looking for something more advanced but check this out:

http://scratch.mit.edu/

(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 02:08 PM.

Reply With Quote
  #4  
Old March 3rd, 2008, 08:06 PM
paulscode's Avatar
paulscode paulscode is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Location: Fort Meade, MD
Posts: 170 paulscode User rank is Sergeant Major (2000 - 5000 Reputation Level)paulscode User rank is Sergeant Major (2000 - 5000 Reputation Level)paulscode User rank is Sergeant Major (2000 - 5000 Reputation Level)paulscode User rank is Sergeant Major (2000 - 5000 Reputation Level)paulscode User rank is Sergeant Major (2000 - 5000 Reputation Level)paulscode User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 11 h 16 m 56 sec
Reputation Power: 49
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesGame Development > Tic Tac Toe vs. Computer

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap