-3
![Code Review](//cdn.sstatic.net/Sites/codereview/img/apple-touch-icon.png)
I'm not comfortable reading the code, I spend a lot of time to understand where the number comes from and where it goes.
But I can't get rid of numbers, they must be there and there are a lot of them, so I use arrays.
int mechanism[3][3] {
{ 1,1,1 },
{ 2,2,2 },
{ 1,1,1 }
...