I hope this game's code helpful to you. Please check out my channel for upcoming interesting videos and Games.
Control
Jump:- Up arrow key
Left move:-Left arrow key
Right move:- Rigth arrow key
https://youtube.com/@glowingstargames?si=yXW1GHDghhCCFsGk
Thank you!