Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Tetris Artificial intelligence (AI)

Loading...

Sign in or sign up now!
39,718
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 15, 2007

A program I made with a friend on mine - The computer plays Tetris all by itself! It is by no means a finished project, but at this pace, it will start hunting John Connor very soon.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 11 dislikes

Link to this comment:

Share to:

Uploader Comments (badmephisto)

  • did you have to make the game tetris in python?? and also is this abunch of if then and else lines of programming or is it more complicated

  • yes the game is first made in python, and then there is an AI module built on top of that. And its much more complicated than if statements :) Classes, method calls, loops etc

  • you should make it able to hook into browser based games, if thats even possible. im sure it is, it would be like cheat engine or mhs

  • hahaha no...

  • Hey man, I know this game, bastet. It is named after the 2 words, Bastard Tetris.

    It calculates what would be the worst block to play with, instead of dropping blocks in random order.

    I wonder who would win the game. His ai or yours ;)

    If you want to, I could send you a link, it might be interesting!

    Daniel

  • i know it. i played it. its mean :D

    there would be no way to "hook" the AI into that program, because its nan executable. I suppose if i had the source I could re-implement the AI in there. but I wouldnt want to do that :)

Top Comments

  • " but at this pace, it will start hunting John Connor very soon. "

    and then it will become the govenor of california?

    nice work, all we need is to have it advance in the levels

  • Wow. This really got off topic...

    On topic: Is this the speed it really plays at? Looks pretty sick :)

see all

All Comments (109)

Sign In or Sign Up now to post a comment!
  • if this works for tetris battle on facebook...

  • The song is called TETRISED TO DEATH. LOL 

  • the |numbers| go down as the number tetris blocks go down

  • welll... it's easy to say that it's much much better than me

  • I want this bot!

    Yo're a great man!

  • @Ckrooss - I think it's "Road to Zion" from the Matrix soundtrack.

  • What's the song please ?

  • I haven't analysed the entire vid, just noticed that at 1:30 it puts that bright green L the other way around...

  • It was on the matrix, but it's from the artist "Rob D" or Rob Dougan - Clubbed to Death.

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more