Refactoring some repetitive code.
Working on turn logic.