On timeline-based games and their complexity