refactor update function, fix up indenting / variable declarations
move board function into separate file
add radio button for pacman / ghost