initial implementation of the real game