html-based implementation of color lines game