Computer teaches itself to play Civilization II
By Julian Benson
Posted on 13 Jul 2011 at 16:57
MIT researchers have developed software that they claim has taught itself to play Civilization II - and to win most of the time, too.
In a recently published paper, the team explained how the software starts from nothing and learns to play by reading the manual, winning 80% of the time.
Beginning with a blank memory, and only able to move and click the mouse, the computer analyses the game screen. It picks out words such as "river" and "road", to search through the game manual.
Lead developer Regina Barzilay said they used the game's manual rather than a strategy guide because it gave the player "very general" advice, leaving a player to “figure out a lot of other things on [their] own”.
Finding the relevant search terms in the manual, the program then runs the paragraph through a sentence analysis algorithm, which it uses to form instructions.
With these instructions, the program can then form strategies. “Because of [a game's] complexity you need a technique that can handle very complex scenarios that react in potentially random ways,” said developer S.R.K. Branavan.
The researchers used the Monte-Carlo method, normally used for analysing financial simulations. It allows the developers' program to take a point in the game and test many possible responses. Keeping an eye on the game's score, it remembers which was the most beneficial decision and stores it in a database.
The amount of data stored by the system quickly becomes mind boggling. At every turn of its 200 games the computer would perform 500 possible actions, and “each roll-out is run for 20 simulated game steps before halting the simulation and evaluating the outcome,” the researchers said. Each of those 200 games are played for at least 100 turns, for a total of 200 million Civilization turns.
Is your business a social business? For helpful info and tips visit our hub.
That's a nice picture of Civilization V! ;)
By lkipper on 13 Jul 2011
I'm guessing you are the "work experience guy" who occasionally gets to speak on the podcast?
If so, congratulations on a very professional first article!
By JohnAHind on 14 Jul 2011
- Windows 8.1 Update: an abject surrender
- The insane economics of Sky Now TV
- No such thing as a free app... so pay up if you want quality
- Time to outlaw crapware-laden installers
- Windows Phone 8.1 video: hands-on
- Office for iPad: key information
- Why every PC buyer owes Richard Durkin a debt of gratitude
- HTC One M8 vs Samsung Galaxy S5: 2014's big-hitters compared
- Windows XP end of life: key information
- Cut out the broadband jargon? What jargon?
- Small steps into handling Big Data
- Nexus 5: does it really run stock Android?
- How to get broadband to a garden office
- How to write your company's IT security policy
- Raspberry Pi and Wolfram: a must-have for every child
- Could you get by with Office Web Apps?
- The best Android antivirus apps for 2014
- Headings vs headers: how to use both in Word
- Windows Server 2012 R2: how the Datacenter edition could change SMBs
- Invoices and VAT: how to set up your documents correctly