Jump to content

  • Log In with Google      Sign In   
  • Create Account


Bet won on AI


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Vidar son of Odin   Members   -  Reputation: 1320

Like
7Likes
Like

Posted 17 December 2013 - 10:27 AM

Hello,

 

A friend of mine and I made a bet 2 days ago. He was playing pong and he was bragging about how good is he beating the AI and I told him: "I can make an unbeatable AI for this game with 1 single line of code". His answer: "NO WAY YOU CAN DO THIS" (he never programmed a game in his life). But he don't know that artificial intelligence in games is more artificial and less intelligence because computer controlled players just simulate intelligence. We made the bet and I've won some beer money :D 

 

Here is the 1 line code for the AI:

ai_paddle_y = ball_y;

And here is the link: http://gamejolt.com/games/arcade/pong/20255/


Check out my portfolio : https://bratie.wordpress.com

"Don't gain the world and lose your soul. Wisdom is better than silver or gold." - Bob Marley

 


Sponsor:

#2 Brick   Members   -  Reputation: 518

Like
2Likes
Like

Posted 17 December 2013 - 04:01 PM

I actually laughed when I read the code, very nice! XD

Pong is actually one of the best examples of AI in game design: just because a computer CAN beat it 100% of the time doesn't mean that it SHOULD.

#3 Vidar son of Odin   Members   -  Reputation: 1320

Like
3Likes
Like

Posted 18 December 2013 - 06:53 AM

I actually laughed when I read the code, very nice! XD

Pong is actually one of the best examples of AI in game design: just because a computer CAN beat it 100% of the time doesn't mean that it SHOULD.

I know biggrin.png Just wanted to show him that making AI more stupid (I mean that player have chances to beat the computer) is a lot far harder than making AI unbeatable. 


Edited by Bratie Fanut, 18 December 2013 - 06:53 AM.

Check out my portfolio : https://bratie.wordpress.com

"Don't gain the world and lose your soul. Wisdom is better than silver or gold." - Bob Marley

 


#4 Nübček Pænus   Members   -  Reputation: 153

Like
3Likes
Like

Posted 15 January 2014 - 04:41 PM

 

I actually laughed when I read the code, very nice! XD

Pong is actually one of the best examples of AI in game design: just because a computer CAN beat it 100% of the time doesn't mean that it SHOULD.

I know biggrin.png Just wanted to show him that making AI more stupid (I mean that player have chances to beat the computer) is a lot far harder than making AI unbeatable. 

 

This is very, very true. laugh.png



#5 Vidar son of Odin   Members   -  Reputation: 1320

Like
0Likes
Like

Posted 28 January 2014 - 04:01 AM

 

 

I actually laughed when I read the code, very nice! XD

Pong is actually one of the best examples of AI in game design: just because a computer CAN beat it 100% of the time doesn't mean that it SHOULD.

I know biggrin.png Just wanted to show him that making AI more stupid (I mean that player have chances to beat the computer) is a lot far harder than making AI unbeatable. 

 

This is very, very true. laugh.png

 

I wanted to make a bet with him about a tic tac toe AI but he will not underestimate me again :))


Check out my portfolio : https://bratie.wordpress.com

"Don't gain the world and lose your soul. Wisdom is better than silver or gold." - Bob Marley

 





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS