implemented commands and game funcs
implemented commands