
import models.cursors


KEYSTROKES = {
    "w": models.cursors.UP,
    "a": models.cursors.LEFT,
    "s": models.cursors.DOWN,
    "d": models.cursors.RIGHT
}


def handle_keystroke_direction(keystroke):
    """Returns direction associated with keystroke."""
    return KEYSTROKES.get(keystroke)

cd3033c9a8b010f3929cca0c3f515cf5d042ceb2
<mask token>

<mask token>


def handle_keystroke_direction(keystroke):
    """Returns direction associated with keystroke."""
    return KEYSTROKES.get(keystroke)

<mask token>
KEYSTROKES = {'w': models.cursors.UP, 'a': models.cursors.LEFT, 's': models
    .cursors.DOWN, 'd': models.cursors.RIGHT}


def handle_keystroke_direction(keystroke):
    """Returns direction associated with keystroke."""
    return KEYSTROKES.get(keystroke)

import models.cursors
KEYSTROKES = {'w': models.cursors.UP, 'a': models.cursors.LEFT, 's': models
    .cursors.DOWN, 'd': models.cursors.RIGHT}


def handle_keystroke_direction(keystroke):
    """Returns direction associated with keystroke."""
    return KEYSTROKES.get(keystroke)


import models.cursors


KEYSTROKES = {
    "w": models.cursors.UP,
    "a": models.cursors.LEFT,
    "s": models.cursors.DOWN,
    "d": models.cursors.RIGHT
}


def handle_keystroke_direction(keystroke):
    """Returns direction associated with keystroke."""
    return KEYSTROKES.get(keystroke)
