ComputerPlayer class with consolidate conditional expression changes