Sure! Here's a basic implementation of a 2D fighting game that features a tag team option. I've included some simple pictograms to represent the characters.
In this simple game, two players (player 1 represented by a red square, and player 2 represented by a blue square) are constantly moving towards each other. When the players collide, the active player is switched, and the newly inactive player's color changes to green. However, once a player is tagged, they are no longer taggable.
You can run this code by saving it as a single HTML file and opening it in a web browser on your smartphone. The game canvas will be displayed, and the players will start moving. You can see the tag team option in action as players collide and switch their active status.
Please note that this is a basic implementation to showcase the concept, and you can enhance it further with additional game mechanics, controls, and animations according to your requirements.