Working game. Version 1.0

Hi xmpf, 
Please look at the code and accept the merge. Game is working in windows via mingW.