More dynamical parameters calculation to make game field easily resizable
Refactor and more dynamic layout calculation improvements
Add gray lines on the edges
Refactor with use of JSHint hints