implement game