Adding better player decision logic