Extracted game core from original project