(Topic ID: 254006)

Teaching "Machine Learning" / AI to play Pinball?


By okayestpinballer

7 months ago



Topic Stats

  • 14 posts
  • 10 Pinsiders participating
  • Latest reply 7 months ago by jackd104
  • No one calls this topic a favorite

You

Linked Games

No games have been linked to this topic.

    Topic Gallery

    There have been 2 images uploaded to this topic. (View topic image gallery).

    wargames (resized).jpg
    pin_ml (resized).png

    You're currently viewing posts by Pinsider highvoltage.
    Click here to go back to viewing the entire thread.

    #4 7 months ago

    There's various ways to approach this with AI. I don't know about this exact example, but in general the specific game rules would not need to be programmed into the software. A more advanced system would have a goal such as maximizing the score. The program would need to have access to the state of the machine, such as knowing what switches are triggered and/or what lights are lit, and how much and when the score is increased. The more it plays, the more it would learn how to navigate a path through different states of the machine to maximize score. In such a system, it naturally learns the "rules" or at least how to maximize its score which is an approximation of learning the rules. Any particular state is given a desirability value (or score, not to be confused with pinball scoring). The program learns how to navigate a path of states to maximize scoring. Some variability or randomness is added into the system, so different tactics (flip timing or angle) are tried and evaluated from each state. Rather than pinball rules, more primitive knowledge could be pre-programmed, such as the drain switch being given a large negative score.

    Anyway, that's a kind of general approach that can be used with many types of games, such as chess.

    A program might learn to make an easy shot with high degree of accuracy, and just repeat it continually as well, which would be pretty boring. But such scenarios can be avoided by attributing a higher value to achieve higher scoring per time period.

    Promoted items from the Pinside Marketplace
    $ 79.99
    Cabinet - Armor And Blades
    PinGraffix Pinside Shop
    $ 445.00
    Cabinet - Armor And Blades
    MI Pinball Refinery
    $ 11.95
    Playfield - Toys/Add-ons
    ULEKstore
    $ 1,000.00
    $ 299.99
    Cabinet - Other
    PinGraffix Pinside Shop
    $ 54.99
    Cabinet - Shooter Rods
    Lighted Pinball Mods
    From: $ 149.00
    Playfield - Toys/Add-ons
    Sparky Pinball
    From: $ 99.00
    Lighting - Under Cabinet
    Rock Custom Pinball
    $ 19.99
    Playfield - Plastics
    Docquest Pinball Mods
    From: $ 5,799.00
    Pinball Machine
    Music City Pinball
    $ 5.00
    Cabinet - Other
    UpKick Pinball
    $ 54.00
    Playfield - Toys/Add-ons
    Lermods
    $ 48.00
    Cabinet - Other
    ModFather Pinball Mods
    $ 159.99
    Lighting - Other
    Lighted Pinball Mods
    $ 26.00
    Playfield - Other
    Pinball Mod Co.
    $ 269.00
    Cabinet - Other
    PinGraffix Pinside Shop
    From: $ 15.00
    Apparel - Men
    Pinside Shop
    $ 149.99
    Playfield - Toys/Add-ons
    Lighted Pinball Mods
    From: $ 9.99
    Eproms
    Matt's Basement Arcade
    $ 48.00
    Cabinet - Other
    ModFather Pinball Mods
    $ 9.99
    Eproms
    Matt's Basement Arcade
    $ 18.99
    Eproms
    Matt's Basement Arcade
    $ 9,995.00
    Pinball Machine
    Flip N Out Pinball
    From: $ 5,799.00
    Pinball Machine
    Great American Pinball

    You're currently viewing posts by Pinsider highvoltage.
    Click here to go back to viewing the entire thread.

    Hey there! Got a moment?

    Great to see you're enjoying Pinside! Did you know Pinside is able to run thanks to donations from our visitors? Please donate to Pinside, support the site and get anext to your username to show for it! Donate to Pinside