API for CTF games