I basically copied this from my project" scrolling maze with enemy AI " arrow keys to move, space to use your weapon
hit the ghosts to get coins use survive the night and find the green thing to end the game Griffpatch