Refactoring rendering to only write the parts of the screen that have changed

Can you use the value from parameters here? Try changing the board width and height in `parameters.yml`