Sure! Here's an implementation of a simple war game using JavaScript, enclosed in script tags within a single HTML file. The game can be played on a smartphone and uses pictograms for ease of understanding.
To play the game, open the HTML file in a web browser (preferably on a smartphone). The game starts by executing `playRound()` with the player's move. You can add more rounds by calling `playRound()` with a new player move each time within the script tags. The game result (winner of each round and scores) will be displayed in the browser's console.
Note: This is a basic implementation, and you can further enhance the game logic, UI, and interactivity as per your requirements.