python game kit implemented in c