lass="parameter">direction</span>
         String. The keycode of the pressed key.
        </li>
    </ul>





</dd>
    <dt>
    <a name = "move_player"></a>
    <strong>move_player (newX, newY, force, attack_when_zero)</strong>
    </dt>
    <dd>
    Move the player to a new location.  Also handles warnings for moving into a dangerous area, and advances the turn if the player moves.


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">newX</span>
         Number. The X-coordinate to mo