Page 1 of 1
How Bout a Contest!
Posted: Sat Nov 06, 2004 4:45 pm
by JS Lemming
I'm getting kinda bored lately, so why don't we have a contest of some sort. Like an AI contest. We could start with something simple like pong. One of us creates a pong engine and then everyone creates their own AI (BY THEIRSELVES!) and run it like 100 times (no visuals for high speed) and see who the overall victor is.
What do you guys think?
Posted: Sat Nov 06, 2004 11:06 pm
by Don Pwnious
Sorry I am out. I am too busy with other things and how long will you think that would take just building the entire thing without ai. Besides i am not fully comprehending the sdl book. Thats a great idea though!!! :D
Posted: Sun Nov 07, 2004 2:40 pm
by vmrob
god i need to learn some sdl
anyone want to recomend a book on the topic?
Posted: Sun Nov 07, 2004 2:53 pm
by Don Pwnious
Focus on SDL. that is what i have and thats what GV recommended to me.
Posted: Sun Nov 07, 2004 2:54 pm
by Falco Girgis
I changed my mind though. When I first started on that book, I had SO much trouble with it. Don't get it unless you know all of your class/struct object oriented garbage. You'd better know what this means:
If you want to learn SDL, what does that mean?
Posted: Sun Nov 07, 2004 5:08 pm
by Don Pwnious
Shoot!! Too late i already bought it.
Yeh i have to agree how is F800 = 1111 1000 0000 0000 b??
also located in pg.43
Posted: Sun Nov 07, 2004 5:31 pm
by Tvspelsfreak
The Phantom wrote:Yeh i have to agree how is F800 = 1111 1000 0000 0000 b??
1111 = 1*2^3+1*2^2+1*2^1+1*2^0 = 8+4+2+1 = 15 = F (hex)
1000 = 1*2^3+0*2^2+0*2^1+0*2^0 = 8+0+0+0 = 8 = 8 (hex)
0000 = 0*2^3+0*2^2+0*2^1+0*2^0 = 0+0+0+0 = 0 = 0 (hex)
0000 = 0*2^3+0*2^2+0*2^1+0*2^0 = 0+0+0+0 = 0 = 0 (hex)
Posted: Sun Nov 07, 2004 5:37 pm
by Falco Girgis
Wow, Tvspels, that's exactly what we're working on in Computer Science Club.
I can't believe you know that. You'd be like t3h ultimate Computer Science Club member. My C teacher would worship you!
Posted: Mon Nov 08, 2004 7:24 am
by JS Lemming
You wouldn't need to know SDL at all to be in the contest. All you need to know is basic C++ syntax to make AI. Does anyone want to be in the contest? I'll make the main engine if anyone wants to.
Posted: Mon Nov 08, 2004 8:26 am
by Tvspelsfreak
You'd have to make the ball faster than the paddle or else one could just do
Posted: Mon Nov 08, 2004 4:03 pm
by vmrob
that is what i was thinking just have the ai have the middle of the paddle always at the center of the ball.
and your question
blood->x
i don't know the offical terminology but x would be a variable in the instance blood.
(right??)
and like gyrovorbis said we are learning that in computer science team. hex to binary yeah.
Posted: Mon Nov 08, 2004 4:25 pm
by Falco Girgis
Wilson_industries, your -> explanation is right, BUT
HOLY SHIT
Wilson_industries wrote:
that is what i was thinking just have the ai have the middle of the paddle always at the center of the ball.
Dude, if you think that is GOOD, then you're going to make a terribly sub-standard game (no offense). Tvspelsfreak was only bringing that up as an example of what NEVER to do.
That isn't AI, that's just some cheap monstrosity.
Posted: Tue Nov 09, 2004 9:57 am
by Guest
I couldn't do anything, because I just know blitz. x.x
When you make the AI, will you be able to tell what the velocity of the ball is, the boundaries of the ring, ect? That would be REALLY, helpful when predicting what the ball will do next.
Posted: Tue Nov 09, 2004 8:45 pm
by vmrob
yeah. it would be pretty sick and worthless having an unbeatable ai in pong.
i guess you could have the ball travel faster than the paddle like tvspelsfreak said and have a slight lag time between the computer responses.
a real challenge would be to come up with an ai in tic tac toe without programming every possible winning scenario into it.
Posted: Sun Nov 14, 2004 10:36 pm
by MarauderIIC
Chess.
For hex conversions, F is 1111 and 0 is 0000, etc... Each hex is four bits, and you just string them together.