Basic Engine Complete

Now is a basic game with 3 states.