Practically it is the same, instead of downloading the game and running it locally, you have it run in your web browser.
And yes, inviting a friend at your house, to play with you, or having them borrow a physical copy is fine as well, until at least all console games go 100% digital.