To play the surfing game on Microsoft Edge, you need to type edge://surf in the address bar and press the Enter button. Following that, the game window will open. Then, you can use the mouse or spacebar to start the game and play it accordingly.