The story

The story of the course

In 2009 a physics undergraduate taught StarCraft at Berkeley for credit. The website died, the recordings were filed under the wrong numbers, and one week was never filmed. Here is how it was put back together.

Video First hand account Document Our analysis

The short version

  • In spring 2009 a second year physics student taught a fourteen week StarCraft course at UC Berkeley, for two units of credit.
  • It had a syllabus, homework, a reader sold at a copy shop, and sixty two seats that were not enough.
  • Its website went dark, and for years the only trace was five rough videos with the wrong numbers on them.
  • A game designer in the audience wrote up twelve of the fourteen weeks, which is why the course can be reconstructed at all.
  • We recovered the site, fixed the numbering, put the out of order reel back in order, and rebuilt the course.

A room in the business school, on a Thursday night, and a quotation from Sun Tzu. That is how it starts, and if you did not know what the next eighty minutes were about you would guess almost anything except StarCraft.

A business school classroom, 7pm

The date is 29 January 2009. The room is Haas C230. A second year physics student named Alan Feng opens the class by reading the passage in The Art of War about five notes and five colours, and how nobody has heard or seen the end of what can be made from either. Then he lands it: there are only three races, and nobody has seen the end of those either 0:00.

This was a DeCal, Berkeley's long running programme that lets students design and teach their own courses under a faculty sponsor. Two units, pass or no pass. The sponsor was John Morgan, a professor in the business school who teaches game theory, and about twenty minutes in he walks into the room and introduces himself as exactly that 0:21.

There were sixty two seats. There were not sixty two people. Feng ran admission by note card on the first night: name, email, year, highest maths class you have taken, gaming history, your APM if you know it, and, above everything else, why you are here. He printed sixty copies of the syllabus and ran out.

Four days later he posted an announcement saying he had lost the cards. Everyone who wanted a seat got one. He called the cards the class's first practical quiz, gave full credit on the grounds that losing them was his fault, and asked people to email their student IDs so he could send enrolment codes. The homework was still due.

What it actually taught

The temptation is to treat this as a novelty. It was not a novelty. The syllabus lists calculus and differential equations as strongly recommended background, and it means it.

Week 1 ends with a taxonomy of resources: the raw ones the game counts, the physical ones that exist in the room and not in the game, the transformation resources that turn one thing into another, and the assistant resources that do nothing on their own but multiply what you already have. The conclusion is that attention is the scarcest resource you own, that every decision is a conversion, and that every conversion costs time 1:26.

Week 4 does Lanchester's attrition equations on a whiteboard, derives why a bigger army wins by more than its size advantage, and then defines a quantity the class calls flux: the share of your army that is actually firing. Week 7 models scouting as uncertainty that grows with time, and draws the set of everything the enemy could have built since you last looked. Week 11 is about deception, gets into signalling theory, and pauses to talk about why gazelles jump when they see a predator.

There was a weekly workload, and it was the good kind. Two of your own replays, every week, each with the flow of the game explained and several good and bad moves identified, emailed to the class account with a fixed subject line. Homework sets on top of that. And a final project worth forty per cent of the grade, with one requirement: contribute something to the StarCraft community, and publish it somewhere people will tear it apart. Theory projects were due as a post on Team Liquid at 7pm on 14 May 2009.

The reader was called The Theory of Starcraft, it was written by the person teaching the class, and you bought it at a copy shop near campus. The FAQ described it, in its own author's words, as rough, dense and difficult to read. Twenty five free copies went to the beginners in the room.

The camera that was going to film the term

GamePro filmed the first night. Their watermark is in the corner of every frame, which is why week 1 is a clean 640 by 360 recording and everything after it is a 320 by 240 camcorder. The class FAQ said GamePro intended to tape the whole semester and told readers to go to their website for the lecture videos.

They did not tape the whole semester. Week 2 was never filmed at all. The class webmaster, who signed himself c0de, posted on 8 February that there was no recording, wrote a summary of the session instead, and said he hoped Feng's camcorder would arrive in time for the next one. It did. That is the whole explanation for why the surviving series looks the way it does.

GamePro's own copy of week 1, a zip file on their CDN, was never archived and the CDN has no captures at all. Academic Earth carried the course as a proper page, filed under Berkeley next to Yale's game theory course, and hosted its own video of week 3 on blip.tv. blip.tv shut down in 2015 and the Wayback Machine holds no capture of that file. Academic Earth's page promised more lectures would be added through spring 2009. Snapshots from April 2009, November 2009, August 2010 and December 2011 all carry the same two.

So five rough YouTube uploads are the only video of this class that exists.

The designer in the audience

The other reason this course can be reconstructed at all is that someone in the room was taking notes for the internet.

David Sirlin, the game designer and author of Playing to Win, sat in on the class as an observer and blogged it, week by week, from the end of January to early May. Twelve of the fourteen weeks. He is a professional writer explaining models to a general audience, which means his accounts are often clearer than the tape, and he is the only witness for eight sessions, including the one that was never filmed.

He is also what makes the numbering fixable. The upload called "Lecture 6" matches his week 7 post beat for beat: choices, discrete against continuous, the triangle of uncertainty drawn over a graph of drones against zerglings, and the vector equation for what the opponent really has. The syllabus lists week 7 as scouting. Against all of that we have one hedged aside from the lecturer a month later, who says he thinks they did scouting in week 6. The uploads carry the uploader's numbers, not the class's, and two of the five are simply wrong.

Sirlin's posts are still up on his own site, and everything we say about the weeks nobody filmed is credited and linked to him. His coinages are his: "local imbalance" is his phrase for a week 2 idea, not the class's.

Winning a league on the weekends

The thing that keeps getting left out of the story is that the people teaching this class were, at the same time, winning a national tournament.

The Collegiate Starleague started that year as a showmatch between Princeton and MIT and became a twenty six college league playing Brood War. Berkeley won the first season. They beat Georgia Tech three nil in the quarterfinal, took a forfeit from McGill in the semifinal, and beat UT Austin three one in the final. Yosh, who delivers the history of progaming in the week 1 recording, played MIT's StRyKeR in the post season all star showmatch.

The class site hosted that season's replay packs. There was a Saturday lab on the first floor of Moffitt Library over the campus wifi, and an ICCup channel called Cal for anyone who could not get there. Thursday nights were the lectures, Saturdays were the lab, and the weekends were a league the facilitators were winning.

The site dies

The last content capture of berkeleystarcraft.com is early May 2009. The announcement log stops. The forum, which had been announced in March with some excitement, turns out on inspection to have had seven topics, twelve posts and fifteen members, with its last activity on 11 March. Two of its four sections never got a single post.

The domain answered into 2010 and then lapsed. When the Wayback Machine went back in 2011 the files were gone: request homework 2, 3, 5 or 6 today and you get back a one byte stub, because that is what the archive caught after the domain fell over. There is no other capture of them.

Feng said in week 1 that the class would almost definitely run again the next semester, with priority for the people who missed a seat. There is no evidence that it did. No later recordings on the uploader's channel, no updates to the site, and the Academic Earth page sat unchanged until it returned a 404 in mid 2012.

What came back

The rate limit on the archive lifted after about an hour, and then most of it came back at once.

The syllabus, captured 19 February 2009, which settles the room, the hours, the grade split, the prerequisites and the fourteen week outline. The announcement log, which is the only chronology of the term that exists and is where the lost note cards and the unfilmed week 2 are recorded in the class's own voice. Homework 1 and homework 4 as PDFs. Solution keys for weeks 2 and 3, which restate every question before answering it, so two more sets are recoverable from their own answers. The FAQ, the credits page, the class's own micro tournament map, and thirteen replays.

Then the repairs. The upload numbers were replaced with the class's week numbers. The week 7 reel, which begins five minutes into the session and ends with the session's opening, is played here in the order it was taught: from 32:20 to the end, then back to the start. A sentence is split across that seam. Every lecture got an essential cut that skips the projector trouble, the admin and the break, which turns five hours of rough video into about ninety minutes of teaching.

And the replays run. The homework replay is a game saved on 7 December 2007, sixteen minutes and forty one seconds long at fastest speed, on a version of Lost Temple. The class site warned that the end of the file was corrupt. Our engine plays it to its last recorded frame with no error.

The replay homework 1 was built around. Saved 7 December 2007, 16:41 at fastest speed, on a Lost Temple observer map. The class warned its ending was corrupt; the engine reaches the last recorded frame cleanly.

What we built

Fourteen week pages, one per session, each one labelled with what it rests on. Where there is tape, there are notes by chapter, in our words, with a timestamp on every claim. Where there is no tape there is a reconstruction that names its witness in the text and links him. Week 12, the one session with no record of any kind, says so and then teaches the topic under our own badge instead of pretending.

The four recovered problem sets are re-posed in our words with the archived originals linked, and the class's own answers shown beside ours where a key survives. The maths is typeset rather than photographed, because the whiteboard is not legible at 320 by 240 and an image model would garble it. Where the board is wrong, and it is wrong in at least two places, we print the board as written, the correction, and one sentence about the slip.

And then the part nobody in that room could have done. This site runs the actual game engine in a browser. The lecturer told the class to use MATLAB and estimated his matrix entries from experience. We can measure them. Every quantitative claim in these lectures is something we can put back into the game and check, and where the 2009 answer does not survive contact with the engine, the page says so.

That is the whole project in one line: restore it, test it, and then teach it.

Why bother

Because it nearly went. The recordings survived by accident, on a channel, with the wrong numbers on them. The homework survived because a solution key happens to restate the questions. The week nobody filmed survived because a game designer decided to write a blog post about it on a Thursday night in February.

And because it is good. A twenty year old built a real course out of a video game in 2009, put differential equations in front of sixty two people who came for StarCraft, and asked every one of them to publish something for strangers to criticise. The execution ran ahead of itself in places and he says so on tape. The ambition was right.

Credits and sources

Built on Game Theory with Application to Starcraft, taught at UC Berkeley in spring 2009 by Alan Feng, Anthony Chen and Sherwin Mahbod. The teaching on this page is written in our own words. Not affiliated with UC Berkeley or anyone named here; if something should not be here, tell us.

All sources for the course

Ai nevoie de ajutor? Play SC:BW Support

Conectează-te și scrie-ne: solicitările tale rămân în contul tău.

De obicei răspundem în cel mult 72 de ore.

Conectează-te ca să ne scrii

Nu te poți conecta? Scrie la [email protected].