Fix player algorithms

--HG--
extra : rebase_source : ed57398583246cc114b6199a40a3ddf94c446719