Cute concept! I laughed out loud when the ghost's punishment for reaching me was just being in my personal space, then we entered the code and it space-rolled away lol.
Definitely could've used fleshing out in a number of ways, but for what it was, I had fun :)