The most popular arcade games in the 1980s always seemed to have a crowd of kids around them. We would watch the gameplay. Would they get to the next level? What were they shooting at? What timing was needed to score a hit? What strategies seemed to work?
What definitely did not?
Some kids were better than others, and we studied them. Did the next player use the same strategies or different ones? Some kids wanted to maximize their score. Others just wanted to see how many levels they could complete.
When it was my turn, I would stick with what I knew and occasionally try something I had seen someone else do. The things that worked well became part of my own strategy.
For example, stay higher than the other mounts in Joust. Destroy an asteroid and its smaller fragments before moving on to another. Clear as many dots as possible before eating a power pill in Pac-Man.
I also enjoyed less popular games like Vanguard, Gorf, and especially Gyruss. I rarely watched anyone play these games. I learned through my own experiences and applied what I had learned from other games.
Eventually, you could get through the first few levels without really thinking about it. The early levels were enjoyable and built confidence. The later levels were when the adrenaline rose.
Oh, the agony of moving up when you meant to move right! And what a rush to finally complete a level you had been struggling with for weeks!
Looking back while studying artificial intelligence today, I find it fascinating how much of the way we learned parallels an area of AI called reinforcement learning (RL).
In reinforcement learning, an agent learns by interacting with its environment, taking actions and receiving numerical rewards. The goal is to maximize its expected cumulative reward over time.
Two fundamental concepts in RL are exploration — trying something new to learn — and exploitation — using what we have already learned to make the best decision. We did both without knowing what they were called.
We also used other forms of learning. Watching other players and adopting their strategies is similar to imitation learning. And applying knowledge from one game to another parallels transfer learning.
But all our fun was limited by the time we had available (usually before the arcade closed at night) and the money in our pockets. When either ran out, that was it.
If I only had a few quarters, I might play a game I knew well to maximize my playing time and enjoyment. If I had just earned some money, it was time to try out that new game. I knew it was going to consume a lot of quarters!
Training an AI agent has its limitations, too. Time, computing resources, energy, and money are all finite. How efficiently can a machine learn with the resources available to it?
Will it learn to play the way we did, or discover entirely different strategies?
How many quarters will it take?

Leave a Reply