moved gamelogic to event system

theoretically should work
Revert "moved gamelogic to event system"

This reverts commit b38c87aeb8071f918a314c2271db638df0b5eb09.
Revert "Revert "moved gamelogic to event system""

This reverts commit 35a8b60b998a72ff11560555fbd1cb56d908247f.