Author | Thread |
|
03/04/2009 05:38:47 PM · #26 |
|
|
03/04/2009 09:04:23 PM · #27 |
Somewhat off subject BUT
What 1980's movie does this remind you of???
Where the computer plays tic-tac-toe.
Best quote of the movie the computers says, "The only winning move is not to play".
Message edited by author 2009-03-04 21:21:34. |
|
|
03/04/2009 09:31:19 PM · #28 |
did his professor have anything to do with the movie ?
my guess w/o really knowing is 'weird science' though i'm not sure that's the best quote from the movie... i guess that's relative.
alright i cheated, and know the answer ;)
Message edited by author 2009-03-04 21:33:42.
|
|
|
03/04/2009 09:35:44 PM · #29 |
Originally posted by SDW: Somewhat off subject BUT
What 1980's movie does this remind you of???
Where the computer plays tic-tac-toe.
Best quote of the movie the computers says, "The only winning move is not to play". |
War Games!
"Would you like to play a game?" |
|
|
03/04/2009 09:50:21 PM · #30 |
anything but 'tic-tac-toe'...
PDF that might help you out...
//www.cs.berkeley.edu/~bh/pdf/v1ch06.pdf
Message edited by author 2009-03-04 21:52:36.
|
|
|
03/04/2009 10:30:58 PM · #31 |
Originally posted by alfresco: Originally posted by SDW: Somewhat off subject BUT
What 1980's movie does this remind you of???
Where the computer plays tic-tac-toe.
Best quote of the movie the computers says, "The only winning move is not to play". |
War Games!
"Would you like to play a game?" |
You got it.
Here is the clip about tic-tac-toe. about 5:07 seconds into this segment.
Here is the movie trailer.
|
|
|
03/05/2009 01:01:04 PM · #32 |
Something finally clicked. I was working to death on a program and then I was like "ok now I get it". I erased all my code and proceeded to write all the code for my problem in half an hour and it fired right up. So now I am a happy camper. |
|
|
03/05/2009 01:37:19 PM · #33 |
Anyone else cut their teeth on Fortran77?
Oh the joys! |
|
|
03/05/2009 01:49:39 PM · #34 |
Ahhh Fortran... We had a course in college called "Numerical methods in Fortran" but luckily for us our teacher didn't care much for fortran so he called the course "Numerical methods and Fortran". So we learned Fortran, and then we learned numerical methods using C++
Cool teacher! |
|
|
03/05/2009 02:53:11 PM · #35 |
Originally posted by Spazmo99: Anyone else cut their teeth on Fortran77?
Oh the joys! |
Fortran 77!! modern stuff eh
I started on Fortran IV +
Progressed to PDP Assembler as well ugh
Message edited by author 2009-03-05 14:58:25. |
|
|
03/05/2009 03:20:01 PM · #36 |
Originally posted by Spazmo99: Anyone else cut their teeth on Fortran77?
Oh the joys! |
I did. In fact the reason I delved into F77 was because this researcher wanted to port his Fortran app from Windows to Mac. So I had double the fun. Can you imagine Fortran on a Mac? :-) |
|
|
03/05/2009 03:27:22 PM · #37 |
Originally posted by Prash: I did. In fact the reason I delved into F77 was because this researcher wanted to port his Fortran app from Windows to Mac. So I had double the fun. Can you imagine Fortran on a Mac? :-) |
And you can bet it will be that crucial library that just isn't available for the Mac |
|
|
03/05/2009 03:29:01 PM · #38 |
Originally posted by Lutchenko: Originally posted by Prash: I did. In fact the reason I delved into F77 was because this researcher wanted to port his Fortran app from Windows to Mac. So I had double the fun. Can you imagine Fortran on a Mac? :-) |
And you can bet it will be that crucial library that just isn't available for the Mac |
Heh.. right. Although we didnt have any major system level hiccups... or so I remember. Must have been my lucky days. |
|
|
03/05/2009 03:31:34 PM · #39 |
Fortran???? I'm surprised you guys weren't punching holes in computer cards. I've heard that's how REAL programmers do it :P Fortunately, i've never had the pleasure of using either.
I like Java and C++, but my favorite ever is MATLAB, which I don't think counts. Of course, I haven't had a chance to program in awhile, it's all requirements documents and test plans for me lately :( |
|
|
03/05/2009 03:34:56 PM · #40 |
Fortran always made perfect sense to me, but then had to move from VAX VMS to Unix.
Bought a copy of Kernighan and Richie with the intention of DIY C but discovered that I was just too old to start learning a new code even though I had some basic Pascal so swapped the book for a copy of Roark lol |
|
|
03/05/2009 03:35:42 PM · #41 |
Originally posted by steefmcbeef: Fortran???? I'm surprised you guys weren't punching holes in computer cards. I've heard that's how REAL programmers do it :P Fortunately, i've never had the pleasure of using either.
I like Java and C++, but my favorite ever is MATLAB, which I don't think counts. Of course, I haven't had a chance to program in awhile, it's all requirements documents and test plans for me lately :( |
Errrr I did...lol, then we went all hi tech and got a tape punching machine
MATLAB, I see let someone else do the hard work for you eh
Message edited by author 2009-03-05 15:37:54. |
|
|
03/05/2009 03:37:11 PM · #42 |
I had to do write a tic tac toe program for a project once. What I did was after every move, I generate a tree of all possible outcomes. From there on it is easy to work back from the branches of the tree and determine which next move can not possibly result in a loss. It is a bit of a brute force solution, but for a game such as tic tac toe which only has so many possible moves in a game, it isn't a computational nightmare.
A solution like this does however require a working knowledge of data structures such as trees, so I doubt whether it would be a plausible solution for somebody that is new to programming. |
|
|
03/05/2009 03:43:40 PM · #43 |
Good to see a few old timers here :-) Yeah... I punched a few cards in uni but that was the dark age now :-) Used Fortran77 also but my fav would have to be either LISP or APL but both are pretty ancient now days as well... and a tad specialised :-) Coding is not what it used to be (fortunately and unfortunately) :-/ |
|
|
03/05/2009 03:50:45 PM · #44 |
Hey I'll go and get my dad to come on here and talk about Algol lol |
|
|
03/05/2009 03:54:35 PM · #45 |
I used Cecil in the 1970s at school, does anyone else remember that? |
|
|
03/05/2009 03:56:10 PM · #46 |
Originally posted by Lutchenko: Originally posted by steefmcbeef: Fortran???? I'm surprised you guys weren't punching holes in computer cards. I've heard that's how REAL programmers do it :P Fortunately, i've never had the pleasure of using either.
I like Java and C++, but my favorite ever is MATLAB, which I don't think counts. Of course, I haven't had a chance to program in awhile, it's all requirements documents and test plans for me lately :( |
Errrr I did...lol, then we went all hi tech and got a tape punching machine
MATLAB, I see let someone else do the hard work for you eh |
LOL shhhhh, don't tell anyone!
I could've said LabView, which apparently is now shipped with Lego Mindstorms. |
|
|
03/05/2009 04:00:42 PM · #47 |
Originally posted by steefmcbeef:
LOL shhhhh, don't tell anyone!
I could've said LabView, which apparently is now shipped with Lego Mindstorms. |
So if you use MATLAB I guess you must have an engineering role so have you used any real engineering stuff such as NASTRAN eh eh eh lol
Message edited by author 2009-03-05 16:00:51. |
|
|
03/05/2009 04:09:24 PM · #48 |
Originally posted by Lutchenko: Originally posted by steefmcbeef:
LOL shhhhh, don't tell anyone!
I could've said LabView, which apparently is now shipped with Lego Mindstorms. |
So if you use MATLAB I guess you must have an engineering role so have you used any real engineering stuff such as NASTRAN eh eh eh lol |
We don't do any FEA around here, but a quick search for nastran made me lol. They just make me review a bunch of documents all the time, which is why i have time to post to the forum ;)
I'm afraid this is has gotten terribly off topic? Correct me if i'm wrong, is tic-tac-toe a perfect play type game where the first person to move can always win if they make the proper next move? i think connect four is like that. |
|
|
03/05/2009 04:15:48 PM · #49 |
Good point.
I thought tic tac toe or Noughts and Crosses as we call it here should always end in a draw.
Could always look on google eh
//www.codeproject.com/KB/game/Arrington_s_Tic_Tac_Toe.aspx
Message edited by author 2009-03-05 16:17:40. |
|
|
03/05/2009 04:37:06 PM · #50 |
I learned COBOL and Fortran on punch cards, Pascal and Basic via terminal. You learned quickly to draw a diagnonal line across the top of your deck, just in case..
My last year of college, we opened an Apple lab, running Apple II's with dual floppy drives and an CP/M card. Oh the days!
|
|