Game functioning

Now for tests.