added game classes with pseudo code