moved pawns hat mechanic from core to example package