extends Node const DIRECTION = { LEFT = -1, RIGHT = 1, } enum PLAYER { FIRST, SECOND, }