"Real world" IPOs work in a similar fashion. Just because you wanted 200 shares, doesn't mean you get them - you bid for them and find out the day or so before the IPO whether or not you get your full allotment.
It's not random, however, there are some set rules.
No, that's not true at all. In the "Real World" the IPO Share distribution isn't fair at all. People with the best connections get the most shares. That's how it works. If this IPO was done as it was in the real world, most people wouldn't have gotten shares at all unless they knew the founders or burnside.
People with good connections would have gotten the shares.
The real world would also see the price collapse rapidly like a Facebook IPO

Then a year later you would get to the IPO Price XD
http://www.theguardian.com/technology/2013/aug/03/facebook-stock-closes-ipoFacebook's resurgent stock has closed above its IPO price for the first time since the online social networking leader made its debut on Wall Street more than 14 months ago.
The shares gained 56 cents to finish Friday's session at $38.05 (£25), the stock's highest closing price since ending its first day of trading at $38.23 in May of last year.
CLASSIC it took me a year I waited and waited I was so proud of My IPO and I made 5 cents