Tell AI to avoid edges, especially ones over water (this does not include checking whether a knock could drown yet). Also make flakes pick a new random dx/dy on respawn to further reduce patterns. Also disable a couple of weapons for the particularly dumb AI levels, and disable switching for the dumbest.
#include <stdio.h>
#include "openalbridge.h"
int main (int argc, int **argv) {
openal_init();
openal_close();
return 0;
}