<p>Alice and Bob take turns playing a game, with Alice starting first.</p>
<p>There are <code>n</code> stones in a pile. On each player's turn, they can <strong>remove</strong> a stone from the pile and receive points based on the stone's value. Alice and Bob may <strong>value the stones differently</strong>.</p>
<p>You are given two integer arrays of length <code>n</code>, <code>aliceValues</code> and <code>bobValues</code>. Each <code>aliceValues[i]</code> and <code>bobValues[i]</code> represents how Alice and Bob, respectively, value the <code>i<sup>th</sup></code> stone.</p>
<p>The winner is the person with the most points after all the stones are chosen. If both players have the same amount of points, the game results in a draw. Both players will play <strong>optimally</strong>. Both players know the other's values.</p>
<p>Determine the result of the game, and:</p>
<ul>
<li>If Alice wins, return <code>1</code>.</li>
<li>If Bob wins, return <code>-1</code>.</li>
<li>If the game results in a draw, return <code>0</code>.</li>