So basically get all 3 keys, press E to open your inventory, WASD or arrow keys to move, and click on objects to interact with them.
I didn't actually spend 2 years making this, nor did the "hour of code" thing bring me back. I just encountered very difficult problems while working on my other projects, mainly due to how ambitious I am, and therefore caused me to give up. I managed to persevere hard enough to get this project done. I think it's pretty okay. Credit to @Sheep_maker for telling me to actually do some coding.