renamed board.draw to board.render since it better describes what happens