You are not logged in.
I have spent Easter taking the current Javascript Version of Four In A Line and developing this New Flash version of Four In A Line
Play with it ... see if you like it, tell me if it misbehaves.
(I might make a 3D version!)
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Very good, the controls are smoother and the thinking time for the CPU is realistic.
I was going to say that you need to decrease the thinking time, but now I've changed my mind.
Offline
It's really nice. I especially like the smoothness of the falling counters.
For 'Games Won', could the blue player's number be blue instead of pink?
Offline
Changed the pink! Also subtly changed the board.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Good, there's no pixelated white ring around the counters any more!
I think. Unless it was all my imagination in the first place.
Offline
This shouldn't be an issue if you play the game normally, but if you click "new game" when a piece is falling sometimes it will freeze in the slot it is in and float in midair. When you try to put a piece in that column the next game your piece will go where that old one is hovering. I've only gotten it to do this a couple times though, it doesn't happen every single time. You can use this bug to give the computer an extra turn at the start, but it doesn't really make the game harder.
Offline
jl: you are right!
zhy: I better look at that, thanks.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
I think it was good. Um when you click on new match and you've already put a few counters down, the counters stay there until you click on new game
Presenting the Prinny dance.
Take this dood! Huh doood!!! HUH DOOOOD!?!? DOOD HUH!!!!!! DOOOOOOOOOOOOOOOOOOOOOOOOOD!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Offline
Yes, New Match just resets counters, maybe it should also start a New Game.
Anyway, I have now created two new versions:
What do you think? I can change number of rows and columns if needed.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
The computer seems to think really hard on five in a line. I was listening to music on my computer and his thinking would make it pause for a second, every time. Maybe it's just my computer.
Offline
You are distracting the computer by playing music? Isn't that cheating?
(The computer has to test a lot more possibilities coz the board is bigger ... it speeds up when the board is nearly full, too!)
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
No, this is cheating!
Look at all those pieces he put in before me!
Offline
Oh no ...
(So how did you manage that, then? Hmm?)
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
This shouldn't be an issue if you play the game normally, but if you click "new game" when a piece is falling sometimes it will freeze in the slot it is in and float in midair. When you try to put a piece in that column the next game your piece will go where that old one is hovering. I've only gotten it to do this a couple times though, it doesn't happen every single time. You can use this bug to give the computer an extra turn at the start, but it doesn't really make the game harder.
I just used this... clicked new game at a special time while the computer's piece was falling.
Offline
OK, you got me!
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
The computer seems to think really hard on five in a line.
Zhy, my computer does that too. It takes about six or seven minutes to think. I was also listening to music at the time ... but I've stopped that now and it's still doing it. The cursor even changes to the 'thinking' hourglass sometimes.
Next: three dimensions!
Offline
Are you exaggerating on that 6 to 7 minutes? It would pause noticeably for some seconds for me, but definitely not over a minute or even half a minute. That's outrageous.
Offline
Seconds, I meant seconds!
Oops!
Offline
Ok good *high five*
(my shortest post ever )
Offline
I encountered Zhyllioloms problem as well after accidentally double-clicking on the New Game button.
And the three-in-a-row game is no game at all, is it? The player that goes first always wins (just like tic-tac-toe)!
PS: Actually, worse than tic-tac-toe. In TTT the person going first never loses, but can still be forced into a draw. In TIAR, the person going first wins all the time.
Last edited by JaneFairfax (2007-04-13 21:43:36)
Offline
Yes ... I wonder what can be done with it to make it more interesting? Less/more rows/columns?
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Try fewer columns then. Four columns already makes the game absolutely unlosable to the starting player; more columns will make the job of winning even easier for the guaranteed victor.
Offline
In TIAR, the person going first wins all the time.
Are you sure? It seems like it should be possible to always force a draw, although maybe that's just because the computer isn't playing well enough.
Why did the vector cross the road?
It wanted to be normal.
Offline
For 4 columns
Drop your 1st coin in columns 2 or 3, say column 2. (Column 3 makes no difference; it would just be looking at the same game from the opposite side of the table.) Your opponent can drop in any of colmns 1, 2, 3, 4. If 2, drop your 2nd coin in column 3 and youve won. Anywhere else, drop your 2nd coin on top of your 1st one. Then your opponent is forced to drop their 2nd coin on top of your 2nd coin to block you. Your 3rd drop is invariably in column 3. If your opponent had dropped their 1st coin in columns 1 or 4, they would now have to drop in columns 4 or 1 (respectively) to block you; then drop your 4th coin on top of your 3rd coin, and youve won.
This leaves the following the scenario where your opponent had dropped their 1st coin in column 3. Your 3rd coin is on top of that coin. It is in line with your 2nd coin, so your opponent cant drop their 3rd coin in columns 1 or 4. They have to drop on top of your 3rd coin in column 3. Now drop your 4th coin in column 4. After your opponent drops in the same column to block you, drop your last coin again in that column and you should have completed a diagonal line of three.
For > 4 columns
Drop your 1st coin at least two spaces clear of each corner. If your opponent drops on top of your coin, or anywhere except adjacent to your coin, drop your 2nd coin next to your 1st coin and youve won. Otherwise drop your 2nd coin on top of your 1st coin, forcing your opponent to drop their 2nd coin in the same column to block you. Now drop your 3rd coin next to your 1st coin. After your opponent has dropped next to your 3rd coin to block you, drop your 4th coin on top of your 3rd coin, and youve won.
Last edited by JaneFairfax (2007-04-14 00:09:14)
Offline
Right, let me illustrate the 4-column case with LaTeX.
Drop your first coin in column 2 (your coin is ●, opponents coin is ○):
There follow four cases:
Case 1:
Reply:
And you win.
Case 2:
Reply:
Again you win.
Case 3:
Reply: Follow the same steps as in Case 2. It will lead to the same result.
Last edited by JaneFairfax (2007-04-14 00:59:36)
Offline