A Game Engine To Make Games As Multi-agent Systems