Finished copy of logicPlayer but it doesn't behave