Dismissing and skipping over participants in a game involving chairs using Javascript.