The ai's goal is to get to the yellow dot on the right, they do so with 40 moves. They can't use more or less. But they can only choose between 4 moves. These are: Jump, Walk right, Walk left and do nothing. Use turbomode to speed up the process (hold shift and press the green flag)
thx to Gabrielmakesgames1 for v.1