Sure! Here's an example of a game that meets your requirements:
This HTML file will display a 5x5 square board with alternating color blocks and gaps between them. The user can click on the cards at the bottom to play a card with a specific color. The goal is to reach the correct color block by only moving the tiles on the board. If the user selects the correct color block, they will receive a congratulatory message. Otherwise, they will be informed that the selected color block is not on the board.
You can copy and save this code as an HTML file and open it in a browser to play the game.