It is necessary to implement a game similar to the one shown in the video. The game should work in the browser and fully replicate the demonstrated mechanics.
Requirements:
After the page loads, the character takes the starting position and waits for the GO button to be pressed.
When GO is pressed, the character moves to the next position; the numerical values in the "coins" and "CASH OUT" blocks are updated.
Each subsequent press of GO moves the character one position forward with the corresponding update of the numbers.
Upon reaching the last position, a modal window appears with a button.
After pressing this button, a redirect to the specified site is performed.