00:00
00:00
Newgrounds Background Image Theme

nuggetior just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

fourInARow

Share Collapse

Author Comments

This game is very simple: it comes with a clean interface (zero button! nothing but the game) and polished and dynamic graphics. You can turn the camera around with your keyboard arrows or by moving your cursor to the sides of the window.
You can tell the AI to play by pressing 'O'; it isn't very clever but you can practice a bit against it anyway. You can also watch it trying to beat itself.
Finally, you can reset the game by pressing 'R'.

Update :
Thanks for your comments! It's my first submission and I'm very pleased by the feedback!
Just two notes:
- You have to click at the *bottom* of the stack to add a ball. It will illuminate to show you you're pointing at the right spot.
- And, Flash Player won't receive any keypress until you've clicked at least once at the game's window; that's why the AI may seem inactive, so just click once at the white area before pressing 'O'.

Log in / sign up to vote & review!

How does your AI work?

It lags really badly when its the AIs turn, it might just be me but that usually happens when your doing a insanely long loop or something idk... but im curious how it works.

Chamyky responds:

Well, I took a very simple approach for the IA: it imagines every possible move it can do next turn for every possible move the adversary can do for every possible move it can do this turn ^_^ .
Yeah, it just imagines each possible branch for each possible branch for... etc, and take the one where it will the most likely win. When the IA starts calculating its turn, the animation freezes because it uses all the calculation power it's allowed to use (limited by Flash Player, sadly) to search for the best solution.
That's why I could easily improve the IA by telling it to search further; however it madly increases the search time.

Cool.

Needs different AI levels and stuff like a main menu, but I really like it. The only issue with the gameplay is that it's hard to see. Maybe if you could mess with the opacity a little bit... Anyways, yeah.

Fantastic

I gave you a four because i mistakenly thought there was no AI, but ill put it on my daily "vote five" list for a couple days to make up. 9/10 however, first because the ai isnt very good, and second because although not having instructions or buttons does make the interface cleaner, it also makes it less intuitive.

Chamyky responds:

I must confess that the AI intelligence problem is CPU related. I can easily upgrade the AI to a second level, on which it's really better - but the calculation needed for each turn then takes about 32 seconds (on a good computer!) instead of the current 3 seconds.
That's why the game is meant to be played with two human players, and it is more intuitive that way (no need to know the IA key).

ok....ok

it looks very nice so on so forth but the AI does not work

Chamyky responds:

Just click once in the game's area before pressing 'O'. Thanks for noticing :) .

Great game

i think this could develop into something huge

Chamyky responds:

What do you mean exactly?
Anyway I like clean and intuitive things, so I don't often add features that weren't planned at first.

Credits & Info

Views
5,086
Faves:
2
Votes
11
Score
2.74 / 5.00

Uploaded
Jan 7, 2009
3:02 PM EST