def next_pos_from_state(state):
    """ Function that computes the next puck position

    From the current state, the next position of the puck is computed
    but not set.

    Returns:
        dict: coordinates
    """
    xn = state['puck_pos']['x'] + state['puck_speed']['x'] * state['delta_t']
    yn = state['puck_pos']['y'] + state['puck_speed']['y'] * state['delta_t']
    return {'x': xn, 'y': yn}