Add game logic and level

nearly v1.0