Artificial Intelligence in Video Games: Towards a Unified Framework