Winning implementation. Score board integration for whether the game was won. Hooks for game winning on lua side