Sure! Here's an example of a simple game similar to Eerskraft that you can play on a smartphone using JavaScript and HTML:
This is just a basic skeleton of a game where you control a blue rectangle with left and right arrow keys on your smartphone screen. You can extend this code to add more features, levels, enemies, and elements as per your requirements.