source code of SSGameCore