Play logic implemetation