game patterns logic WIP