Updated cpp template player