Sure! Here's an example of a simple 2D game where stickman AI characters fight each other using JavaScript and HTML. The game will be playable in a browser, allowing for smartphone operation. Please note that the game below serves as a basic starting point, and you can customize and enhance it as per your requirements.
This game includes two stickmen, one controlled by the player and the other controlled by the AI. Each stickman can move up and down using the Arrow Up and Arrow Down keys on your smartphone's virtual keyboard. The stickmen are drawn as simple rectangles, but you can replace them with pictograms or more intricate animations as per your requirement. The game will run until one of the stickmen reaches the edge of the canvas or until manually stopped.