added game endpoint with some logic. unstable and untested. WORK IN PROG...

...RESS