ManWithComputer
The Internet, IP
Male, 37
I've worked at multiple Internet startups of different shapes, sizes and ambitions. Now I'm the CTO (Chief Technical Officer) of another small company with big dreams. I look nothing like the picture above.
If you copy and paste your homework question in here, I will answer with something that will, at best, get you an F on your project, and at worst, will get you kicked out of school. You have been warned.
Ask the professor for help.
The details depend on how you've represented your tic-tac-toe grid internally. But in general, observe that there are only two possible diagonal wins: upper-left to lower-right, or upper-right to lower-left. That's just two possibilities you have to check.
If we're talking about a Web context, the elements Javascript is concerned with are HTML elements: http://en.wikipedia.org/wiki/HTML_element
Those elements make up the browser's internal representation of a page, and mostly they correspond to an HTML tag on the page and whatever stuff is inside the tag. For example:
<p>This "p" tag indicates a paragraph of text.</p>
By manipulating the elements, Javascript can change what's displayed on the page. That ability is what made possible, over the past 10 years or so, all the fancy special effects that became standard on Web pages.
Well, it's been maybe 20 years since I wrote a program for Windows. But that said, although I can't tell you exactly how to do it, that should be eminently possible.
Antiques Dealer
What's the most profit you've ever made from a single item?CrossFit Coach
Why is Crossfit so popular with women?Sitcom Writer
Is reality TV here to stay?Please see the note above. DO NOT COPY AND PASTE YOUR HOMEWORK QUESTIONS HERE.
You can't sell the idea to Google.
To implement it takes just one programmer--if they're the right one.
I don't know exactly how Visual Basic encourages you to organize projects, but if everything is under one directory, there are programs built specifically to take a directory tree and pack it neatly into one file so that you can easily send around that one file. I hear that 7Zip (http://www.7-zip.org/) is pretty good.
-OR-
Login with Facebook(max 20 characters - letters, numbers, and underscores only. Note that your username is private, and you have the option to choose an alias when asking questions or hosting a Q&A.)
(A valid e-mail address is required. Your e-mail will not be shared with anyone.)
(min 5 characters)
By checking this box, you acknowledge that you have read and agree to Jobstr.com’s Terms and Privacy Policy.
-OR-
Register with Facebook(Don't worry: you'll be able to choose an alias when asking questions or hosting a Q&A.)