Factorize definition of player2 keys
Factorize definition of player3 keys