def get_moves_toward(start_coord, end_coord):
    """ Return an array of snake moves that will direct something at start_coord towards end_coord. """
    retval = []
    if end_coord['x'] > start_coord['x']:
        retval.append('right')
    if end_coord['x'] < start_coord['x']:
        retval.append('left')
    if end_coord['y'] > start_coord['y']:
        retval.append('up')
    if end_coord['y'] < start_coord['y']:
        retval.append('down')
    return retval