fixed linear eqn win condition