First beta version

Now the game works more or less like intended. Some bugs still remain, but they will be fixed soon.