A theoretical design of a flexible game automation program.