Slashdot Mirror


Tetris AI System

You've probably always wanted a system that reads a Tetris game via a webcam, decides the optimum move, and then inputs the commands to make that move, right? Well, now your prayers are answered.

63 of 208 comments (clear)

  1. Oh but... by RPoet · · Score: 4, Interesting

    I thought Tetris was NP-hard ;)

    --
    "Oppression and harassment is a small price to pay to live in the land of the free." -- Montgomery Burns.
    1. Re:Oh but... by Atrahasis · · Score: 2, Interesting

      Just because there is no ideal solution does not mean there is no way an AI-agent can do it.

    2. Re:Oh but... by KoolDude · · Score: 5, Insightful


      Being NP-hard means there are no existing polynomial-time algorithms to find the *optimal* solution. That doesn't mean it is impossible to write a program that can find *good* solutions. Moreover, NP-Hard problems get really impossible for higher instances. For small instances of NP-Hard problems, brute force search is still feasible.

      Another point is that the article you mentioned discusses a restricted version of Tetris.

      --
      getSexySig(); /* returns sexy signature */
    3. Re:Oh but... by Some+Var · · Score: 2, Funny

      Is anyone else reading "NP-Hard" as "No problem hard"?
      Confuses me everytime, maybe i've been abusing irc too much.. ;)

    4. Re:Oh but... by Minna+Kirai · · Score: 3, Interesting

      Most all school projects are "extra work", since students can rarely forge new ground that hasn't been investigated before. Instead, they learn to correctly duplicate known experiments, to get up to SOTA before following their own ideas.

      In this case, the machine-vision problem of recognizing blocks with a camera (which inserts distortion and uncertainty to the image) is an interesting challenge on its own.

      While viewing a computer screen is easier than most MV problems (the target is self-illuminated, so variable lightsource angles are less of a problem), it could have useful future applications. Especially if someday we're beset by hardened DRM computers that don't allow you to interact programatically- mouse input and LCD output only!
      Then the practice of watching a screen with the camera of your PDA might become the only way to take controlled files off those machines.

      (Watch the "Ghost in the Shell" movie for bizarre examples of this)

  2. The New 4th law... by gokubi · · Score: 5, Funny

    1. A robot may not injure a human being, or, through inaction, allow a human being to come to harm.

    2. A robot must obey the orders given it by human beings except where such orders would conflict with the First Law.

    3. A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.

    4. A robot must never place the long skinny ones horizontally, unless it leads to a long skinny vertical hole so 4 rows can be cleared at once the next time a long skinny one comes around.

    --
    I'm much funnier now that I'm a subscriber.
    1. Re:The New 4th law... by GuyMannDude · · Score: 4, Funny

      I thought Directive 4 was that any attempt to arrest a senior officer of OCP Corporation would result in immediate shutdown!

      GMD

    2. Re:The New 4th law... by CSG_SurferDude · · Score: 2, Funny

      Oh geeezzzz, get real...

      That sort of stuff only happens in the movies.

  3. Wow! by The_Rippa · · Score: 5, Funny

    Now THAT's some serious nerding...too bad a feat like this does nothing to impress the ladies

    1. Re:Wow! by Bonker · · Score: 4, Funny

      No, to impress the ladies with an app like this, you need something that can optimally play The Sims so that you can arrange any given soap-opera scenario to your liking.

      --
      The next Slashdot story will be ready soon, but subscribers can beat the rush and slashdot the links early!
    2. Re:Wow! by Kenja · · Score: 5, Funny

      I don't know. Being able to use a computer to get the right long piece into the right slot could be useful. However it could end up like my old boost of having a big Wang in my bedroom. Girls always left somewhat disappointed.

      --

      "Have you ever thought about just turning off the TV, sitting down with your kids, and hitting them?"
  4. A really useful tool... by ShawnDoc · · Score: 4, Funny

    Now if they would just adapt this to playing Solitare, I'd never have to come to work again! The computer could do my "job" for me.

    1. Re:A really useful tool... by Anonymous Coward · · Score: 2, Funny
  5. Great For Super Geeks by Anonymous Coward · · Score: 4, Funny
    This is great for the /.er who not only cant find a girlfriend and therefore is home playing tetris all Saturday night, but also cant find a friend to play tetris with. Just plug in your computerized friend and you will have fun all night long.


    That is until he beats you 27 times in a row and you throw your controller at his camera-head and cause him to crash.

  6. Tetris Setup Photo by Indras · · Score: 4, Funny

    Someone get this guy a Desktop Cleanup Wizard!. And I thought I had too many icons on my desktop...

    --
    The speed of time is one second per second.
  7. Damn cheaters by m4g02 · · Score: 2, Funny

    The future is facing us now!, i dont think i could take an AIRCUH (AI remote controlled undetectable hack) for Counter Strike, life wont have a meaning anymore, damn hax0rs.

    --
    Sigs are for morons... Wait a minute...
  8. amazing by Boromir+son+of+Faram · · Score: 3, Interesting

    This could be generalized into a system that completely replaces a computer user in any context, not just Tetris. Someone's already mentioned a Doom player, but you could do the same thing with Ebay auctions (the Ultimate Sniper?) or tedious reformatting in a word process, data entry.

    It's all just recognizing an on-screen situation and responding to it with key presses and mouse movements. Best of all, it doesn't rely on application developers to build scripting into their programs. It's a universal, platform-independent macro system.

    My people could put such a power to heroic use.

    --

    Boromir, son of Faramir, King of Gondor and Minas Tirith
    1. Re:amazing by BitHive · · Score: 3, Interesting

      A Doom-playing version of this system would probably require AI-complete machine vision, and sniping on eBay (not to mention document reformatting and data entry) is better accomplished with, say, a Perl script. While this is a cool little project, the piece detection has a pretty narrow range of operation wrt to contrast and flicker, and in no way is extensible enough to be a "universal, playform-independent macro system".

  9. As my Favorite Family Guy Character would Say by indigogorge.net · · Score: 4, Funny

    "Holy Crap!!! You mean I don't ever have to think again! Sweeeet!!"

  10. Penny Arcade movie suggestion by klang · · Score: 5, Funny
  11. It's like you're inside my head ... by burgburgburg · · Score: 3, Funny
    Reading my very thoughts on how much I wanted a Tetris AI system.

    Of course, you're also telling me to pick up a halibut and run through the workplace smacking coworkers upside the head as way of instructing them in Esperanto. I think I'll try and ignore those instructions, this time.

  12. Sure, his project's impressive by Amsterdam+Vallon · · Score: 3, Funny

    ... but, quite frankly, I'm more impressed that his page with 1.22MB of data sent per hit is still loading fine after an old-fashioned Slashdotting!

    *nix.org - Featuring BSD, Linux, OS X, Solaris, & More

    --

    Reply or e-mail; don't vaguely moderate. Ex-O'Reilly/MIT employee, now a full-time Google employee.
  13. But the point is... by KoolDude · · Score: 2, Funny


    ...whether it can win even if the freaking long piece doesn't come at the right time ;)

    --
    getSexySig(); /* returns sexy signature */
  14. Robotic by Rosonowski · · Score: 3, Interesting

    I've seen a lot of people commenting on how this would be easier if it all stayed digital, but upon seeing the diagram he had, the first thing that came to mind was pattern recognition, perhaps in use for robots.

    This is the kind of thing that people spend a lot of money on, and even if it is kind of crude, visual sensors combined with logic that works is a Good Thing(tm) indeed.

    --
    01101001 01100001 01101101 01101110 01101111 01110100 01100001 01101100 01100001 01110111 01111001 01100101 01110010
  15. POV Tetris by handy_vandal · · Score: 2, Funny

    What I want is a multiplayer Tetris where I view the game from the tile's point of view. "You are looking down a deep chute, falling towards an irregular field of colored squares ...."

    --
    -kgj
    1. Re:POV Tetris by ptrangerv8 · · Score: 4, Funny

      your light has gone out...
      if you move downward any fartheryou will be eaten by a grue
      you were eaten by a grue, please try again.
      (yes, mod me down, but it's still damn funny!)
      ;beer;

  16. AI? by tarnin · · Score: 2, Insightful

    I dont think so. Just a lot of caculations. Its not like its trying to guess what move a human is going to do next then place a piece. This is nothing more than caculating the best possible placement of an object from a limited set of objects. Card counters do this thing all the time and so do machines. Why this even made any type of news outside of it being mildly unique befuddles me.

    Mod me to troll of you like but this is not AI.

    1. Re:AI? by BillFarber · · Score: 2, Interesting

      >> Just a lot of caculations Thus far, that is all AI. In fact, the vast majority of AI today is simply some variation of a search tree looking for the best choice.

    2. Re:AI? by KoolDude · · Score: 2, Insightful


      Its not like its trying to guess what move a human is going to do next then place a piece.

      Your view suggests that playing two-player games like Chess is the only application of AI. Although this is the most popular application of AI, it also has various applications in problem solving, belief networks, fuzzy control, theorem proving and lots more.

      I dont think so. Just a lot of caculations.

      Actually every application of AI is just a lot of calculations. Even when a human plays, the neural networks inside the brain does just a lot of calculations based on wieghts to make the move.

      --
      getSexySig(); /* returns sexy signature */
    3. Re:AI? by Xzzy · · Score: 3, Informative

      There's two types of AI, practical AI, and a sentient type (or one that pretends to be sentient I guess).

      "Practical" AI is having a piece of machinery that has been programmed to take a limited set of input, perform some action, then repeat to infinity. The robots that manufacture cars do this, and this tetris bot does this.

      "Sentient" AI is probably more what you're talking about. It handles language processing, making inferences, stuff like that.

      It is intelligent in that it can do a task without human interaction, so yes it qualifies as "AI".

    4. Re:AI? by sholden · · Score: 2, Interesting

      AI is merely working on a problem that has no known solution (in reasonable time). As soon as the problem becomes 'easy' and solved it's no longer AI and becomes a mere algorithm...

      So once natural language processing becomes 'easy' it won't be AI any more, but will be just another algorithm.

      At least that's what my AI lecturer used to claim :)

  17. Next generation of cheats by natslovR · · Score: 3, Interesting
    Once secure computing hits town, this will be the next generation of cheats.

    It may be cute seeing a second computer play Tetris now, but so was the first time someone had a bot improve their aiming in Quake.

    I've read speculation before that equipment like this would probably eventually be used to cheat on systems like Xbox Live - It's a bit too soon for that, but in the years to come this could very well be the way cheating is done.

    1. Re:Next generation of cheats by Xerithane · · Score: 2, Funny

      How much further do you feel cheating can advance? In Counter-Strike, you can get cheats that will auto-aim on someone's head and fire for you. I really don't see what you would want more than that.


      Best Counter Strike scene I've witnessed was somebody going idle to go eat. He tells everyone he is going away but forgets to turn his aimbot off. For a half hour he was completely idle and managed to get about 25 kills.

      --
      Dacels Jewelers can't be trusted.
  18. They didn't SOLVE it... by ArthurDent · · Score: 4, Informative

    There's a difference between being able to play well and solve the game. If you read the article, the machine was able to complete about 600 rows per game. (Which is pretty damn impressive!)

    I'm not really sure how you'd use Tetris to prove P=NP, but it probably has something to do with making an AI that could play forever and never lose, and further be able to prove that you could never lose, which is probably even harder than making the AI!

    1. Re:They didn't SOLVE it... by jandrese · · Score: 3, Insightful

      Actually, I think Tetris has been proven to be impossible to win (where "win" is defined as being able to play forever). There's a research paper that explains why.

      --

      I read the internet for the articles.
  19. Benefactor of mankind--thank you! by EnlightenmentFan · · Score: 3, Funny
    Now I can set up computer #1 to play an infinite, obsessive game of Tetris on computer #2, leaving me free at last to sit down at computer #3 and get some work done. The $200 for webcam and other hardware is cheap for an invention like this, with the revolutionary potential of the wheel, or fire, or even pizza delivery.

    Thank you! Thank you! Thank you!

    --
    Making trouble today for a better tomorrow...
    1. Re:Benefactor of mankind--thank you! by skillet-thief · · Score: 2, Funny

      No, you forgot that on computer #3 there is /. Computer #4 is reading, modding and replying via webcam #2, you are working on computer #5!

      --

      Congratulations! Now we are the Evil Empire

  20. The begining... by Washizu · · Score: 3, Interesting

    People here have already speculated about the possibilites of an ebay sniping, Doom playing machine. Think about the Man vs AI possibilities. Imagine playing your favorite FPS (Quake, Unreal, Counter Strike, Battlefield 1942) and being hunted by a squad of these machines. Unlike in game bots, they're subject to the same limitations you are (lag, poor visibility on screen, the strength of their hardware). If you have to ditch them, run into a cave or turn out the lights. Given an equal interface the struggle between a thinking man and a thinking machine would be a lot more interesting.

    --
    OddManIn: A Game of guns and game theory.
  21. Artificial Intelligence by AnonymousCowheard · · Score: 3, Interesting

    There is no such thing as modern AI. To be accurate, AI is the ability to learn; not the pre-set ability to react in an environment it was programmed for. For this "Tetris AI System" to be considered "AI", it would need to adapt to more than just Tetris; such as Duke Nukem3D.

    Whoever wrote the artificial intelligence algorithms for 3DRealms' Duke Nukem3D multiplayer-mode "Fake Duke" deserves more recognition than anyone.

    Those of you, like me, that were stranded to play by yourself and had no internetwork-ed access to deathmatch with others, know what I am talking about in Duke Nukem3D. How it worked was the game simulated a multiplayer game and was pre-set to "spawn" fake players. The AI system was in effect actually more "unforgiving" than say Unreal Tournament or Quake3. The "Fake Duke" was intelligent to hunt you down based on line-of-sight and quite naturally if he had to run through a laser beam or a lava pit he'll do it all while keeping his "+" (cross-hairs) painted on the center of your forehead. The AI was limited and I think a more accurate project for AI would be to actually host an AI service that offered network-accessed primitives for supreme entropy to contribute to a work of data; such centralized AI system would allow gamers as well as scientific computing to benefit from a verry good entropy pool of numbers as well as improve the funfactor of gaming.

    Instead of this, we have many skilled people having to roll-their-own; not implying they are effectivly wasint their time/resources, yet let's keep our eyes on the prize on what a real system of "sharing" (distributed) can do for the many simulations upon computers that can benefit by a shared resource (thinking AI and entropy) as well as contribute to a centralized AI generator. I know SETI would benefit from such a noble cause, rather having to role-their-own client (software) and have their client (software) wastfully "leech" idle resources of computers around the world. It comes to that conclusion of efficiency, in a sense. Perhaps distributed computing across the internet is a real plan that would benefit from being re-thought. Don't let me fool you: Microsoft is attempting this feat; maybe someone has already started working on this! Doh! Someone recognize the inherent corruption that can ensue if a corrupt organization was holding licenses for your obligation to use their distributed resources as being a client for an applications service provider!

    Am I the only one to confirm these truths or forever does everyone hold their peace?

    --

    But I'm sure you already Gnu that.
    1. Re:Artificial Intelligence by lirkbald · · Score: 4, Funny

      The AI was limited and I think a more accurate project for AI would be to actually host an AI service that offered network-accessed primitives for supreme entropy to contribute to a work of data; such centralized AI system would allow gamers as well as scientific computing to benefit from a verry good entropy pool of numbers as well as improve the funfactor of gaming.

      Y'know, I read through that several times, and I still don't know what it says. I'm pretty sure the poster didn't either.

  22. Re:Gaming AI's by Neuroelectronic · · Score: 2, Funny

    If someone did create a doom playing AI via webcam, what would stop someone from straping it to a moble platform w/ a gun and letting it lose in the streets to shoot down anything that moves? :)

  23. Classic Slashdot by vasqzr · · Score: 4, Insightful


    Great post.

    No Microsoft bashing, no debates about IP, distributions, no whining.

    Serious, hard-core, geek shit.

    Geek takes computer, does something incredible, writes up an wonderful web page, perfect.

  24. Where are the IN SOVIET RUSSIA posts? by vasqzr · · Score: 3, Funny


    We actually need them in this article!!

  25. Re:Gaming AI's by Anonymous Coward · · Score: 3, Funny

    The laws of Physics?

  26. Take it a step further by Stroman+Rebar · · Score: 5, Funny
    Don't just stop with squads of computers hunting people over the net in FPS games. We can shrink them down put them in indestructible exoskeletons with nuclear batteries to hunt down actual people! Then we can wrap in fake skin and send them back in time to... uh...

    Never mind. It may not be that great of an idea

  27. Geom Cube by yerricde · · Score: 4, Informative

    "You are looking down a deep chute, falling towards an irregular field of colored squares ...."

    Is 3D Block for NES, 3D Tetris for Virtual Boy, or Geom Cube for PS1 close enough to what you want?

    --
    Will I retire or break 10K?
  28. I am not as impressed... by Conspiracy_Of_Doves · · Score: 4, Interesting

    I am not as impressed with the AI's ability to make decisions about what to do in the game as I am with its ability to dicern the shapes and locations of the pieces on the screen! Now THAT is cool.

  29. Stuff that matters by Biomechanoid · · Score: 2, Funny

    You've probably always wanted a system that reads a Tetris game via a webcam

    Yes.

  30. Only a couple more steps. by mshiltonj · · Score: 5, Funny

    Very, very impressive.

    If I may humbly suggest a few design improvements as you continue to develop the item:

    1) Remove the electrical connections, and have it physically press the keys of the keyboard with a robotic arm of some sort.

    2) Make it mobile, so it could, for instance, go in search of a tetris game, if it gets bored.

    3) If it sees a tetris game being played, but doesn't have access to the keyboard, it can verbally (with synthesis) tell the player what to do. "left! left! rotate! rotate! drop!"

    4) Trash talking. "I can't believe you dropped that there! What are you -- a carbon-based unit? go back to playing pong, you binary digit."

    4) Global Thermonuclear War.

  31. Chess Playing Robot by Anonymous Coward · · Score: 2, Informative
    A few years ago, I worked as an intern at Center for AI and Robotics (Cair), Bangalore, India. There was a fellow intern who was working on a chess playing robot. This was a robotic interface between a regular chess software running on a computer and a good old chess board. so you sit there with the chess board and play against the computer that uses robotic arm and image recognition (through a camera) to make its moves against you. cool, a'int it? this was 4-5 years ago.

    unfortunately, their website sucks badly. May be they need some help building one. That was a really fabulous place to work at, with scores of smart people.

  32. All in all a great webiste but... by UserGoogol · · Score: 2, Insightful
    A cool website, certainly, and a neat little invention. (Little practical purpose, but its classic Nerd/Geek/Hacking stuff.)

    But one part sounded a bit wrong to me. I may be wrong myself, but...

    They were interested in developing and selling addictive computer games.
    I don't know if thats accurate. I mean, Pajitnov (and the other guy) was in the Soviet Union,[1] after all. I don't know if "selling" computer games would have been so easy. I thought it went that the game was written and then handed around the "Computer Center of the Russian Academy of Sciences." Then it got past the Iron Curtain, and then was distributed as freeware for a while until big companies (Microsoft, Nintendo) realized that they could make big bucks releasing a legal version of the game.

    --
    [1] In SOVIET RUSSIA, Robot controls Tetris! [2]

    [2] Shut up. It was revalent. Now, if I had said the Simpsons quote: "In Soviet Russia, stage for actors only!" It would not have been.

    --
    "Never attribute to malice that which can be adequately explained by stupidity." -- Hanlon's Razor
  33. Recognition is key... to card counting by unfortunateson · · Score: 3, Interesting

    If this robot can respond to Tetris' higher levels at reasonable speed, then the next project ought to be a glasses-mounted camera with bluetooth to an iPod-camoflaged CPU that can count cards at Blackjack.

    A wide-angle lens ought to be able to pick up the whole table. Watching cards being laid down is relatively easy -- surely no harder than seeing pieces fall down the screen. Then just ID the cards, keep a running total, and put a piezo buzzer in the glasses' arms to let you know when to bet big and when to get the heck out of there.

    Maybe a camera in the rear also, to spot pit bosses?

    --
    Design for Use, not Construction!
  34. Not impossible... by ArthurDent · · Score: 4, Insightful

    That arguement doesn't *prove* that it's impossible, because that arguement hinges on there being a long series of only S and Z pieces. The only way you could prove that that issue would always cause a loss is if you could prove that an impossible to place series _necessarily must_ occur. Unfortunately, because the piece order is by definition random, you can only say that it is very likely that an impossible to place piece order would occur eventually, not that it must occurr. Therefore, a perfect game of Tetris could be played (based on this problem alone; there may be others), but success is not entirely based on the skill of the player!

    That's a very interesting result to say the least! Well I guess it's interesting if you're a math geek like myself at least......

    Ben

    1. Re:Not impossible... by trybywrench · · Score: 3, Insightful

      Unfortunately, because the piece order is by definition random..

      Given the fact that all digital devices are deterministic finite state atomotons and random behavior is non deterministic, given a set of states the probability of a state transition is equal for all states, isn't it impossible for a digital device to act randomly? I know computers can generate random *enough* numbers but by what measure?

      --
      I came to the datacenter drunk with a fake ID, don't you want to be just like me?
  35. Everything leads to pr0n... by telstar · · Score: 2, Funny

    The same guy is now retrofitting his contraption by pointing his webcam at his wife, and having Leisure Suit Larry's AI instruct him how to seduce her.
    Fortunately, for the gene pool, he's finding that this problem has no solution, but mostly due to personal limitations.

  36. What? No duct tape? by blair1q · · Score: 2, Funny

    What's with all the rubber bands on the relay board?

  37. Re:My Tetris Gnome plans finally come to fruition. by nlh · · Score: 2, Funny

    Ah, but you see THIS time, there's an answer!

    Stage 2: Play tetris for money

    I hear they have a very harsh anti-cheating policy there (i.e. they'll freeze all the money in your account and ban you if they even suspect you of cheating) but hey, it's still tetris for money.

    nlh

  38. Tetris AI Madness by leoboiko · · Score: 3, Funny

    When I saw the title, I thought they finally revealed that Tetris has a massively advanced and evil AI designed to frustrate the player. It analyses your gameplay and knows exactly what pieces you want and don't want...

    Even my tinfoil hat can't stop it from reading my mind.

    --
    Prescriptive grammar:linguistics :: alchemy:chemistry. Stop being a nazi and learn some science.
  39. Problem is... by mrjah · · Score: 4, Informative

    The problem isn't so much how to count cards -- it's how to count them without letting your betting patterns get noticed. Presumably you're spending money and time on a card-counting hardware/software system with the intention of using it semi-regularly, so this is an important consideration if you want to win more than a few dollars here and there without getting attention from the eyes above and the eyes on the floor.

    Let's say you're using a well-established counting method like hi-lo, or something like it of your own devising. Given that this is Slashdot, the latter is probably more likely, regardless of whether or not it's actually any better.

    So whatever your system is, you have a hot shoe at this table. Your computer is buzzing your arm or shocking your ass or whatever it does to get your attention, and you want to abruptly drop a set of big bets to cash in on the improved but fleeting odds your computer has identified. You're going to get some unwanted attention if over the course of a few hours you "randomly" drop a big pile of chips in the center of the table a bunch of times. Particularly when you keep jerking up from the table as if you've been shocked in the ass.

    That is, unless your system has some method of wager management that lets you blend in while reacting quickly to good odds. That seems pretty tough.

    Maybe the computer could establish what appears to the casual observer/dealer as an idiotic, repeating pattern of wager quantities, thereby identifying you to all around as a grade-A moron and eliminating alarm when you change your betting quantities abruptly. Many easily recognized patterns would suffice. By changing these patterns in only moderate ways, it could be possible to eke out smaller but still positive expected returns than in elementary, obvious-to-keen-eyes card counting. You'd have to stick around the tables for a long time, though, to take advantage of a razor-thin advantage.

    Oh, wait, that's how I do it. Albeit without computer assistance or the anal probe. So I guess I shouldn't have posted this.

    Anyway, good luck building the glasses!

  40. Those damn skinny pieces by Hershmire · · Score: 4, Insightful

    If you watch the video linked on the site, you'll notice that the computer has the tendency to leave a long empty row on the side(s), just like pretty much every human player I've encountered. Seems like that temptation transgresses all boundaries. ...

    Damn skinny pieces. Always my downfall.

    --
    if(!toilet_paper) roll.replace(new roll); //Stupid roommates.
  41. Anyone tried a programmable game controller? by Falkkin · · Score: 2, Interesting

    I've been pondering creating a programmable video game controller for a while now. Basically, what I want is a computer program running on a PC that can control a video game console as a standard joystick. I'm envisioning a daemon that runs and just sends the appropriate button-pressed command out whenever it receives data packets. This could be used both for AI/Vision-type situations like this, or as a simple programmable pad (you could, for example, write a program that outputs a certain string of button-presses whenever a keyboard key is pressed; useful for fighting games.)

    My roommate already has (basically) a universal arcade stick that he made himself -- has interfaces for connecting to PCs, Sega Dreamcast, Playstation, PS2, Nintendo 64, etc. I figure all I need is a way of controlling the device by basically pressing switches.

    My problem is that I don't know any way of doing this cheaply (the piece of hardware used by the guy in this story is over $100). I was thinking of maybe using the parallel port, which has 8 data lines, but that's not enough lines for newer systems and I'm not sure it would work anyways.

    Does anyone have any ideas on how this might be achieved? It's kinda coincidental that this article popped up today since I just thought about this for the first time in months earlier today. :)

    1. Re:Anyone tried a programmable game controller? by Chris+Canfield · · Score: 2, Interesting
      There are lots of ways that you could make a computer-controlled controller... Not all of them cheap. You could, for example, dedicate a section of the screen to I/O, and use a series of photogates to open / close the bridge across the controller pads. You don't get analog sensitivity, but it works. I was sketching out ideas for ways of recording to standard audio tape, using pitch in and pitch out filters for the line... or a simple big-ass array of tape decks connected together by common buttons. This would allow for playback of controller imputs, which would be a boon to testing.

      However, I'm not so sure that simple playback of keyboard combinations would be good for anything but leveling. The dedicated programmable pads in vogue several years back were quite gimmocky, and was less responsive than was acceptable for fighting games at the time. Since then, fighters have gotten significantly faster, and even more picky about timing issues. It's easier just to imput the gamepad commands yourself.

      This is not to say that programmable controllers don't have their place... a programmable controller took my Castlevania: SOTN character to level 92 in just under a week. Programmable controllers continue to exist, and can had for a reasonable amount of money.

      But the problem with visual recognition on modern 3d games is staggering... MIT has entire departments devoted to similar topics. You might be able to do it if you could convince the game to output stereoscopic images, (there was an article recently on a stereoscopic voxel technology), but a subsection of this sort of problem is what you would write your doctorate on. If you can get your hands on the base textures for the game, and redo the graphics engine to give depth and object clues along color lines, you could do it. But not as it stands, and not to a remote box.

      But a little controller hacking is always fun. Good luck!

      --
      This Sig is a mnemonic device designed to allow you to recognize this author in the future.
  42. Wait a minute, something doesn't look right! by Flakeloaf · · Score: 3, Interesting

    Check out the very end of the movie. With 29 seconds gone in the AVI file, there is an L-shaped piece ready to go. The AI decides to rotate it once clockwise and drop it on the far right, eliminating three lines.

    The only problem is the red square is in the way. There's no way you can drop that piece into that space and make three lines disappear. Something's fishy.

    What I'm talking about is illustrated here.

    --

    Am I the only one who heard Roxette to sing "I'm gonna get blitzed for some sex"?