Sure! Here's an example of a simple Star Wars Battlefront co-op game implemented as a single HTML file using JavaScript and enclosed in script tags:
Star Wars Battlefront Co-op
In this game, you control the player pictogram by using the left and right arrow keys on your smartphone. The player moves horizontally within the game area while the enemy pictogram continuously moves from right to left. The goal is to avoid the enemy by moving the player left or right. You can further enhance the game by adding more features and levels according to your preferences.