from enum import Enum


def PlayerTypeEnum(ctx):
    """Player Type Enumeration."""
    return Enum(
        ctx,
        absent=0,
        closed=1,
        human=2,
        eliminated=3,
        computer=4,
        cyborg=5,
        spectator=6
    )