You are here

Alfybot 1.0

Before posting make sure you are aquainted with our forum rules.

47 posts / 0 new
Last post
Alfy's picture
Offline
Champion
Clan: buny
Alfybot 1.0

http://www.fastswf.com/EQiLKv0

I made this AI bot for 1 vs 1 matches in Actionscript 3.0. Both the code and graphics are made from scratch, but I tried to make the design and game mechanics as similar as possible to Curve fever.

If you experience lag (i.e. slow motion), try setting quality to low.

Have fun Smile

Alfy's picture
Offline
Champion
Clan: buny

Here is Alfybot full camping xD

 

 

Pv0
Pv0's picture
Offline
Clan: sC

n1, but this bot is bad in Curve Fever :( 

Offline
Champion
ffa eu nr. 61
1v1 eu nr. 91
team eu nr. 36

Haha very nice, I especially like the spectators Biggrin

Online
ffa eu top 0.3%
1v1 eu top 5.4%
team eu top 2.9%
Clan: KOLL

yeah nice programmed alfy, i just found 2 bugs.

1. http://de.tinypic.com/view.php?pic=2prs8c5&s=8 here at the chat type(i think it is only there) when the bot start with "gl" it happens, that you jump to the start screen when you write something in chat and the old game is still in background

2. http://de.tinypic.com/view.php?pic=iygbck&s=8#.U-ugZWccTIU  sometimes, but only for first round, it happens that the bot can't die and go trought lines.

 

~~signature~~

My time:

Online
ffa eu top 0.3%
1v1 eu top 5.4%
team eu top 2.9%
Clan: KOLL

ok i must correct me, that he jump to start can happen everytime

 

~~signature~~

My time:

Offline

Alfy wrote:

Here is Alfybot full camping xD

Best camp ever.

Alfy's picture
Offline
Champion
Clan: buny

Pv0 wrote:

n1, but this bot is bad in Curve Fever :( 

I know. I spent a bit too much time making up random conversations and forgot to improve the bot xD One day I will make it stronger.

 

NOWODNY2 wrote:

yeah nice programmed alfy, i just found 2 bugs.

1. http://de.tinypic.com/view.php?pic=2prs8c5&s=8 here at the chat type(i think it is only there) when the bot start with "gl" it happens, that you jump to the start screen when you write something in chat and the old game is still in background

I managed to reproduce it. There is a problem with reinitializing, so it happens when you press space in a second game. Thanks for reporting. Until I fix it, it can be avoided by refreshing the page after every game.

 

NOWODNY2 wrote:

2. http://de.tinypic.com/view.php?pic=iygbck&s=8#.U-ugZWccTIU  sometimes, but only for first round, it happens that the bot can't die and go trought lines.

I noticed there is a bug in the kissing algorithm. Both players survive when kissing.

 

 

Online
ffa eu top 0.3%
1v1 eu top 5.4%
team eu top 2.9%
Clan: KOLL

there was no kiss i think, but nvm

nice work alfy. i tested some other things(like games with tie, ...) but everything else worked normal

maybe you can put some command ínto it, like if player says "gj" the bot says "ty" or something like this. because if not the chat function would be useless

 

~~signature~~

My time:

Pinkbanana's picture
Offline

it's awsome Biggrin

and the spectators are so realistic x)

celineam †'s picture
Offline
Clan: MISS

Thanks Alfy. For making me "celineam" the stupid blonde girl specator. ._.

 I cant use my username either cause its taken ..I..

Yubi Nashi_IAmDeleted0's picture
Offline
Clan: I

gj Alfy Smile

Alfy's picture
Offline
Champion
Clan: buny

celineam wrote:

Thanks Alfy. For making me "celineam" the stupid blonde girl specator. ._.

 I cant use my username either cause its taken ..I..

xD

NOWODNY2 wrote:

maybe you can put some command ínto it, like if player says "gj" the bot says "ty" or something like this. because if not the chat function would be useless

I will do that in Alfybot 2.0

 

 

Kodaline's picture
Offline
Clan: Perv

Haha, love the spectators Biggrin

Online
ffa eu top 0.3%
1v1 eu top 5.4%
team eu top 2.9%
Clan: KOLL

ok i tried again and it happen 2-3 times at a kiss situation. but only if it is out of almost parallel situation and not frontal kiss

 

~~signature~~

My time:

Offline
Clan: ajta

aw just played it and chatt was really nice

 

this frustratedboy14 i felt so sorry for him

 

 

 

 

Alfybot: glhf 
frustratedboy14 came to watch 
frustratedboy14: i think my gf likes 
another guy 
frustratedboy14: what should i do 
alfybot? :((( 
Alfybot: are you seriously asking a bot 
about relationship problems? 
frustratedboy14: :(( 

 

 

 

 

haha nice Biggrin

Alfy's picture
Offline
Champion
Clan: buny

Ok, now a question: Who thought the spectators were real players first time you played? xD

 

 

Daniël's picture
Offline
ffa eu top 18%
team eu top 82%

Very nice Alfy, great job!
Now improve bot's skills, because he's very noob xD

 

And yes I thought he was real first, but after 2 messages I knew he was fake.

CurveFever Clans Moderator
CurveFever Moderator
Don't you deal with my decisions, please send me a private message.

Pjush's picture
Offline
Champion
team eu top 9.1%
Clan: Puri

Ur alfybot died on my ass Q.Q Hes smart 

Offline
Clan: sfp

Wow Alfy,awesome !

Offline
Clan: ajta

Alfy wrote:

Ok, now a question: Who thought the spectators were real players first time you played? xD

 

:/

Pjush's picture
Offline
Champion
team eu top 9.1%
Clan: Puri

Alfy wrote:

Ok, now a question: Who thought the spectators were real players first time you played? xD

Me... i really got mad at the end when the spectator never answered me. I was like '' NOW U ANSWER ME SRSLY!!! IM ASKING U SMTH'' xD then he left and i left.

celineam †'s picture
Offline
Clan: MISS

Alfy wrote:

Ok, now a question: Who thought the spectators were real players first time you played? xD

I did my first whole game, until the alfybot started answering specs, then i understood all planned. I asked them many questions tho :s

Implex's picture
Offline
ffa eu top 8.4%
Clan: vS

nice alfy!

lets try it^^

 

Edit: the spectators are funny^^ (ADD ME TOO!!!) 

the Alfybot is easy to beat but sometimes he makes nice moves Blum 3

[IMG]http://i60.tinypic.com/34r99fl.jpg[/IMG]  <-----bug Smile

Pjush's picture
Offline
Champion
team eu top 9.1%
Clan: Puri

legg til meg også da haha. at jeg og tobi snakker sammen :o <3 lo meg igjel av den celine greia xD

 

Pjush's picture
Offline
Champion
team eu top 9.1%
Clan: Puri

- post came twice -

Gilnash †'s picture
Offline
Champion

What you talk about me there? xD

Pju ♥

Implex's picture
Offline
ffa eu top 8.4%
Clan: vS

i didnt google translated its just instinct and experience:

i think she said that she want to be in the chat with you and speak about smth Biggrin

Gilnash †'s picture
Offline
Champion

Yes i thought it too, smth like that. Btw write back on whats app Biggrin

Pju ♥

CurveFeverTv's picture
Offline

Amazing, Alfy 

celineam †'s picture
Offline
Clan: MISS

Pjush wrote:

legg til meg også da haha. at jeg og tobi snakker sammen :o <3 lo meg igjel av den celine greia xD

 

 

Hahahahhaha Anette "ER DET DEG?" 

and u call me the stupid one Kiss 2 :*

Offline
ffa eu top 1.6%
team eu top 14%

Pjush wrote:

 

Hahahaha

 

 

Czech_Pinkney's picture
Offline

I play it just cause of those funny spectators Biggrin I almost shit myself when I saw this:

http://i62.tinypic.com/2hr33wn.jpg

and this one :D:D

http://i60.tinypic.com/2wduky9.jpg

Drink beer, make love, shit every day, be awesome!

Offline

nice alfy, do you have any ideas how to make the bot better?try to make a bot that can beat every human, just like in chess!Deep Alfy 4.2 or something like that!
the chat is very funny!

monster biatch was here Wink

sam_pum's picture
Offline
Champion
ffa eu nr. 13
1v1 eu nr. 3
team eu nr. 23
Clan: Jeff

Nice work Alfy! Smile

 

Alfy's picture
Offline
Champion
Clan: buny

CEM_Kermit wrote:

nice alfy, do you have any ideas how to make the bot better?try to make a bot that can beat every human, just like in chess!Deep Alfy 4.2 or something like that! the chat is very funny!

From a game theoretical perspective, curve fever has a even greater complexity than chess, so perfect play (http://en.wikipedia.org/wiki/Solved_game), is practically impossible even with modern supercomputers. It's definetely possible to make a bot which is better than any human beings though, but difficult. One obstacle is the very short time the bot has to make a decision. The game runs at 30 FPS, so it only has 1/30 seconds per move, which means that it can't calculate very deep. However, I do plan to make Alfybot better. Maybe a combination of a minimax algorithm and graph theory algorithms is the best solution.

 

 

Babibibababi's picture
Offline

Are you trying to improve the AI by finding the longest way ? or maybe try to maximize the concave era the bot has (for camp)

Offline

I find this really interesting and i could imagine that it would be good if the bot´s only tactic would be to make the biggest fullcamp that is possible and then camp, cuz the bot can camp very well!so to say the longest way to his tail.the problem is that the bot cannot "really" react to moves of a human.Keep the work up!

monster biatch was here Wink

mi dobar.'s picture
Offline
ffa eu top 6.7%
team eu top 1.8%
Clan: Esi

kinda ez to beat but nice idea

I kao brus vejnov sobar mnogo sam dobar
kao sa gudrom pablo eskobar
kao navijen na moru stari mornar

Online
ffa eu top 0.3%
1v1 eu top 5.4%
team eu top 2.9%
Clan: KOLL

yeah, when i once made a trol round(started like a full camp try on hole field, from the wall) alfybot made some turns and then crashed into his own line(he had a very easy other way)

 

~~signature~~

My time:

TAILOW's picture
Offline

Pv0
Pv0's picture
Offline
Clan: sC

Bug and ez win....

 

 

Best spectators ever Biggrin

 

We will miss you Alfy Cray 2

Canadian McDonald&#039;s's picture
Offline
Clan: 54

"kokobrainz: I beated therealmadridcf in 1v1 once"

gj xD

this is awesome

 

i played a few games, 10-4 win and such

then i played as theRealMadridcf and 10-0. Biggrin

 

u need to add other colors (rasta, etc) and icons to choose from >:D and ranks.

 

played as Pjush

alfy instead of saying glhf or such.

"10-0 for me ez :P"

Edited by: 
Canadian McDonald's on 8 April, 2015 - 17:48

GameRich's picture
Offline

Funny game, silly spectators and a bot that needs some heavy tinkering. He even says so himself:

Lol he really said so while 8-3 behind Blum 3

CF2 > CF3

~ Part of the Flappy Curve Testing Team~

kacper909's picture
Offline

Source code?

Alfy's picture
Offline
Champion
Clan: buny

kacper909 wrote:

Source code?

Check pm.