Sure! Here is a simple game that you can play in a web browser:
To play the game, save the code above into a single HTML file (.html extension) and open it in a web browser. The game displays a blue player (represented by a square) and a pink target (also a square) on a canvas. The objective is to move the player and catch the target to increase your score. Use the arrow keys or the WASD keys to control the player. Good luck and have fun playing the game!