Move more game logic to basicflowcontrol

Signed-off-by: Ian Macalinao <me@ian.pw>