Added more functions for play state and rotated the triangles