Skip navigation
NintendoAge
Welcome, Guest! Please Login or Join
Loading...

Tetris playing robot Still in development...

Jan 14, 2012 at 6:51:51 PM
Zzap (47)
avatar
(James ) < King Solomon >
Posts: 3301 - Joined: 05/01/2007
Australia
Profile
A mate and I are working on building a robot to play tetris, it's still got a way to go before it's fully complete but here's some footage from some tests last night where we had the AI hooked up to the emulator and the solenoid outputs.

Plan is to ultimately have the robot watch the screen via a camera, and play the game via a control pad, no electrical connection to the NES at all!

Video 1: Hardware test -


Video 2: AI demo -



-------------------------

Chunkout for iPhone, iPad and iTouch out now!
Chunkout Games: FaceBook | Web


Edited: 01/16/2012 at 05:05 AM by Zzap

Jan 14, 2012 at 6:54:35 PM
Dibin (77)
avatar
(Dylan N) < El Ripper >
Posts: 1395 - Joined: 06/08/2011
Alberta
Profile
That's pretty kick ass. I can't wait to see more footage of this!!

-------------------------

Here are some random chat quotes, you're missing out not being there!

remedy: we counted the rings on his penis..  thats how you tell a canadians age.

krunch: I'm a pig for reality tv dudes

megamanfan: mmf needs love

rhetoric: the internet is the only place adam touches clits

spacejockey: fat chicks are single, and they are gonna stay that way


Jan 14, 2012 at 7:06:26 PM
Benihana (154)
avatar
(Don't Stop Believin!) < Master Higgins >
Posts: 9457 - Joined: 08/22/2009
Washington
Profile
That is sweet!
Love the fact that it is going to think and make decisions on it's own.
Now if you could only squeeze it into a ROB...

-------------------------
My Biggest Fear is...She Sells my Games for the Amount I told her I paid for them.

Vintage.Nintendoage.com for LIFE!


 

Jan 14, 2012 at 7:21:49 PM
Zzap (47)
avatar
(James ) < King Solomon >
Posts: 3301 - Joined: 05/01/2007
Australia
Profile
Originally posted by: Benihana

Love the fact that it is going to think and make decisions on it's own.


Yup, in that footage it's actually playing the game 100% on its own in the emulator there!

Originally posted by: Benihana

Now if you could only squeeze it into a ROB...


One step ahead of you...

-------------------------

Chunkout for iPhone, iPad and iTouch out now!
Chunkout Games: FaceBook | Web

Jan 14, 2012 at 8:16:13 PM
Nightowljrm (42)
avatar
(Joseph Morgan) < King Solomon >
Posts: 4123 - Joined: 12/07/2010
Tennessee
Profile
Mind blown. That's seriously awesome. If you put this in ROB... you'd be my hero.

Jan 14, 2012 at 8:55:48 PM
Elijah (161)
avatar
(John (JD) Heins) < Wiz's Mom >
Posts: 11424 - Joined: 08/09/2009
Iowa
Profile
Killer, good luck!

-------------------------
Selling everything.
-------> *Click Here* <--------


God loves everyone

Jan 14, 2012 at 9:46:11 PM
videogamehunter (56)
avatar
(Tyler Bartsch) < Ridley Wrangler >
Posts: 2723 - Joined: 03/15/2010
Kentucky
Profile
That pretty awesome. But I don't think we should let robots to think for them self. There going to slave the earth all because you force them to play Tetris.

-------------------------

My videos - http://www.youtube.com/user/hotanime32   

New Video - Why You Should Get A Retron 5 - https://www.youtube.com/watch?v=p...

My Drawings - http://videogamehunter.deviantart.com/



Jan 14, 2012 at 9:57:38 PM
arch_8ngel (68)
avatar
(Nathan ?) < Mario >
Posts: 35263 - Joined: 06/12/2007
Virginia
Profile
Wow, that is a helluva undertaking.

What is your plan for the AI routine, seeing as the game isn't truly solvable on a practicable time scale?

-------------------------
 

Jan 14, 2012 at 10:26:26 PM
snesmaster (40)
avatar
(Rick Bruns) < Meka Chicken >
Posts: 962 - Joined: 09/29/2009
New York
Profile
Very kewl! Can't wait to see the finished product.

-------------------------
Check out my site for Nintendo Maps, Sprites and Posters at: http://www.nesmaps.com...

Jan 14, 2012 at 11:08:53 PM
danny boyx (39)
avatar
(Pat Stoddard) < Meka Chicken >
Posts: 509 - Joined: 11/02/2011
United States
Profile
Very awesome. Hope you aren't going to form a company named SkyNet.

-------------------------


Jan 14, 2012 at 11:15:09 PM
removed04092017 (0)
This user has been banned -- click for more information.
< Bowser >
Posts: 7316 - Joined: 12/04/2010
Other
Profile
Are you planning on even adding AI to force a piece when you need it and are going to lose? That may be tricky, since you should probably do it a couple frames before at times and just how much "looking into the future" you'd need, but that'd put it over the edge for sure. Good job so far though!

Jan 15, 2012 at 12:06:20 AM
marvelus10 (46)

( . ) Boobies ( . ) < King Solomon >
Posts: 3282 - Joined: 06/05/2007
British Columbia
Profile
Originally posted by: 3GenGames

Are you planning on even adding AI to force a piece when you need it and are going to lose? That may be tricky, since you should probably do it a couple frames before at times and just how much "looking into the future" you'd need, but that'd put it over the edge for sure. Good job so far though!

That would be cheating, I think the computer should have to decide on its own just like you or I have to.


-------------------------




 

Jan 15, 2012 at 12:15:44 AM
removed04092017 (0)
This user has been banned -- click for more information.
< Bowser >
Posts: 7316 - Joined: 12/04/2010
Other
Profile
Originally posted by: marvelus10

Originally posted by: 3GenGames

Are you planning on even adding AI to force a piece when you need it and are going to lose? That may be tricky, since you should probably do it a couple frames before at times and just how much "looking into the future" you'd need, but that'd put it over the edge for sure. Good job so far though!

That would be cheating, I think the computer should have to decide on its own just like you or I have to.


When the input is used to create a random number, I don't think it's possible to call it "cheating" at all. It's no worse than pressing buttons in such fast succession like it already does as the normal player can't do that either.

Jan 15, 2012 at 12:33:42 AM
T3rra (85)
avatar
(Terra ) < King Solomon >
Posts: 3251 - Joined: 03/26/2011
Washington
Profile
I think we should put it up against Robin...

Jan 15, 2012 at 2:46:39 AM
Zzap (47)
avatar
(James ) < King Solomon >
Posts: 3301 - Joined: 05/01/2007
Australia
Profile
The AI is running pretty well so far, and has gotten up to 300 lines (line count is our current focus). I might give a rundown on the algorithm at some stage.

I didn't know about any of the input randomization effects, I thought most of the random was to do with time between pieces?

-------------------------

Chunkout for iPhone, iPad and iTouch out now!
Chunkout Games: FaceBook | Web

Jan 15, 2012 at 3:02:32 AM
GameBoyScotty (48)
This user has been banned -- click for more information.
(Don Keyballs) < King Solomon >
Posts: 3019 - Joined: 03/18/2011
North Carolina
Profile
We have created a Tetris robot in the states too. He is called MrMiniMog.
Very cool indeed, James.

Jan 15, 2012 at 4:39:08 AM
gumgum14 (3)

(Ben S) < Eggplant Wizard >
Posts: 462 - Joined: 05/15/2011
New South Wales
Profile
Mother of god... they can already play tetris? Individual thought? Where all doomed! But seriously that is amazing. Dare i ask how much money you have spent to get it to where it currently is?

-------------------------
 

Jan 15, 2012 at 5:23:31 AM
AllYourBass (101)
avatar
(Pepe Silvia) < Bowser >
Posts: 5717 - Joined: 06/22/2009
Alberta
Profile
Put it inside a mattress please!

Jan 15, 2012 at 9:20:23 AM
arch_8ngel (68)
avatar
(Nathan ?) < Mario >
Posts: 35263 - Joined: 06/12/2007
Virginia
Profile
You got 300 lines in real time play? That is really impressive.
I am guessing the algorithm consistently keeps the stack as low as possible and that you have delayed entry shift fully accounted for?

Have you made a run where you simulate the expected latency from having optical input and physical output?
I would be interested to see how big a difference in performance you get.

-------------------------
 

Jan 15, 2012 at 9:29:03 AM
removed04092017 (0)
This user has been banned -- click for more information.
< Bowser >
Posts: 7316 - Joined: 12/04/2010
Other
Profile
Originally posted by: arch_8ngel

You got 300 lines in real time play? That is really impressive.
I am guessing the algorithm consistently keeps the stack as low as possible and that you have delayed entry shift fully accounted for?

Have you made a run where you simulate the expected latency from having optical input and physical output?
I would be interested to see how big a difference in performance you get.

I thought he meant 300 lines of source when I read it, heh. But what is this on running even? I'm going to guess a mid-sized PIC or Atmel microcontroller? And was that the fastest it goes? Is it looking at the games memory or somehow looking at the TV's output and then determining the pieces?


Edited: 01/15/2012 at 09:45 AM by removed04092017

Jan 15, 2012 at 9:35:02 AM
Penguin (239)
avatar
(Justin AKA Penguin) < Wiz's Mom >
Posts: 10638 - Joined: 05/06/2007
Florida
Profile
The real question is, will the Robot be better/faster than Thor!?!?! If not then there is no point.

-------------------------
Looking for Black cartridge Color Dreams games, last 3 I need:  Metal Fighter, Moon Ranger, Baby Boomer.  Please contact me if you have any of these!



 

Jan 15, 2012 at 4:01:58 PM
sconley666 (21)
avatar
(Sean C) < Meka Chicken >
Posts: 662 - Joined: 07/31/2011
Michigan
Profile
Originally posted by: Penguin

The real question is, will the Robot be better/faster than Thor!?!?! If not then there is no point.


RoboThor? lol  Eitherway this is fuckin' awesome.  I love when people use their brain power for cool shit instead of making rich corporations even more money.

-------------------------


"Bionic Commando needs a jump button like Tetris needs a life bar." --cradelit


Jan 15, 2012 at 4:42:21 PM
Zzap (47)
avatar
(James ) < King Solomon >
Posts: 3301 - Joined: 05/01/2007
Australia
Profile
The 300 lines was in real time, all via our software reading the screen from an emulator, and sending it keyboard commands via software. This introduces it's own latency, so we'll have to tune things when we integrate all the hardware.

All our software is running on a PC. We read the next piece off the screen, but deliberately don't want to read the NES RAM or anything like that as we only want to use inputs and outputs accessible to a human.

-------------------------

Chunkout for iPhone, iPad and iTouch out now!
Chunkout Games: FaceBook | Web

Jan 15, 2012 at 4:46:37 PM
Robin Mihara (106)
avatar
(Robin Mihara) < Bowser >
Posts: 5584 - Joined: 11/09/2008
Oregon
Profile
300 lines is level 30. are you saying the robot beat the kill screen (lvl 29)?

-------------------------

www.ecstasyoforder.com...


Jan 15, 2012 at 5:48:49 PM
arch_8ngel (68)
avatar
(Nathan ?) < Mario >
Posts: 35263 - Joined: 06/12/2007
Virginia
Profile
Originally posted by: Robin M

300 lines is level 30. are you saying the robot beat the kill screen (lvl 29)?


I have seen a program that read nes ram directly play indefinitely into the 1400 line range.
I don't know if it was done in real time, though, since all I saw was a video.

-------------------------