Elements and APIs useful for writing games