As an AI text-based model, I can provide you with a simple example of a game implementation using JavaScript and HTML, but please note that creating an entire graphical game like GTA V is beyond the scope of a single HTML file and the capabilities of this text-based interface. However, I can provide you with a basic concept of a game that you can build upon:
In this example, we have a simple HTML file that contains a canvas element, which is where the game will be rendered. The JavaScript code sets up the game loop with an update function for handling game logic and a draw function for rendering the game state on the canvas.
To create an actual game like GTA V, you would need a much more complex setup, including graphics, physics, and game mechanics. This example serves as a starting point for simple games but will require further development to match your desired game.