Added player state and created relation between boxes and lines so that
now it understands box finished when line is clicked