SEC and Event based game engine