Creating a 2D Multiplayer Game with a Database?
Ok, so long story short, me and my friends have been playing a game in Discord we created. We all have different in-game currencies, abilities, and so forth. I had developed a bot to handle all of the things we needed, and us players handled the rest, but in recent months we have surpassed the number of things that the Discord bot could possibly handle, with us getting a couple hundred players now, and the need for more functions that Discord can't handle. Essentially, what I am trying to do is code a game. Each player has their own territories, in-game currencies which they can spend on abilities, more land, etc, as well as other items. I am attempting to find a language that I can code the game in so that it has the following:
GUI
Ability to work with a database (preferably MongoDB)
Ability to allow players to play the game regardless of whether other users are online or offline.
Ability to allow users to sign-on, so no user can interfere with another's account.
I have talked to some friends and heard two suggestions - PyGames and Unity. However, being unfamiliar with either of these platforms/modules, I am not sure if they would work for what I am doing, and I would hate to transcribe all my code from JavaScript to another language only to later find out they don't work. I am fluent/knowledgeable in Java, C#, C++, Python, JS, and Ruby, so I would prefer a platform that works on one of those languages. However, if this is not possible, I am willing to learn another language. Essentially, what I guess I am asking is what is the best way to go about this project? I did some research into Unity, and this seems the easiest path to go (since I can use JS or C#), but I am unsure if it will be able to handle all of these things.