Making your own game is hard, and the original answer pointed at BYOND — a platform for building and playing multiplayer 2D worlds. It is a legitimate starting point, if a dated one.
BYOND's appeal is that it handles the networking for you: you describe the world and the rules, and players connect through the client. That removes the single biggest obstacle for a beginner, which is getting two people into the same game.
Download from the official site at www.byond.com. Be aware the installer is old, the community is small, and the tutorials assume you are comfortable reading other people's code.
Whichever you pick, scope your first project to something you can finish in a weekend. That is the actual hard part, not the engine.