Simple Python artificial intelligence framework for games