adds pub packages to gitignore
catches (and logs) key events
prepares game canvas