Hey /g/. Is a NoSQL Database like MongoDB suited for a HTML5 Canvas MMORPG like pic related? Users would have accounts with inventories and whatnot.
I can theoretically see how I'd organize things as JSON data, but am I missing something or being short sighted? Should I go with another database type? I really just need whatever will be as hassle-free as possible.
>>51726005
bamp
ok so story
when i was like 13 i was playing that. poor, no moneys. then after months of begging, one nice guy donated a rubber ducky to me. that was at the beginning of summer (july). i played all these games like falling furni, and the game where you race people. people always rev'd me and shit whenever i'd beat them, so i never won anything. even giveaways i would be the last one there so i would never get anytihng, so this ducky meant a big deal to me. so i traded that up for a halloween ducky, then to another halloween ducky with green ectoplasm, and i kept trading up until i made it to one HC sofa (around the end of summer, so august.) my dream was to own a casino.
anyone who has played the game knows that the economy is volatile as heck, so i eventually made it up to two HC sofas. then the market crashed. one week, one HC sofa was worth 1.0x, the following week, one HC sofa was worth 0.5x. so i had to up my hustle game again.
Eventually I made made it to two of those purple dragons. they were worth a fuckin buttload back then. and then i realized that those would be going down in price, so i traded them up for two Aqua Smoke Machines (ASM). Immediately I realized that I downgraded my overall value, but I had hopes that they would appreciate in value next week. but they didnt.
so in early october I went into the most bangin casino, ready to double it up. the place had the HC dices and everything. had like 6 fuckin booths. this guy was legit.
i couldn't keep hoping for more. i had to take risks. no more sitting on the sidelines. shit's going down. I can still remember the dealer's ign.
so i sit down, i tell him i wanna play a game of 21. I place my bet as one ASM. And I think I rolled a 17 or 18 and stayed there. Then it was his turn. he rolled, and rolled. and rolled. my palms were sweaty. i still had one more ASM in my pocket, but shit, i was shaking. you know that feeling of the lump in your throat? i had that (1/2)
>>51726510
hurry up yo
>>51726510
am i stupid for not even knowing the game? sounds intense though carry on
>>51726658
I'm pretty sure that's habbo hotel
>>51726658
this is habbo is an animated avata chat not an mmo
>>51726510
i had that lump in my throat. i couldn't even breathe for the amount of time that he was rolling. every single animation, my heart would stop, hoping for him to bust.
he managed to roll a 19.
FUCK, i told myself. but then i remembered i still had my other ASM.
so i told myself, I need to get it back. i already know that he has one ASM in his pocket, so he can just hand my old bet back to me when i win.
so i told him, let's play again.
so we did.
i gave him my ASM, and so it was time to play.
this game of 21 means so much to me. so much at stake. my entire summer was spent as a merchant, trading up, falling victim to the market. i would spend at least 12 hours per day on my dad's laptop just going into shops trading and haggling. this was my life.
i ended up rolling a 20 or 21. i dont remember the exact number, i only remember the fact that it was really high. Can you believe that?? shit's fucknig great!! holy fuck I couldn't believe this!! my life is saved.
and so i brushed off his roll. he rolled, and rolled. i wasn't phased. he ended up busting. so then he closed the dice.
i was ecstatic. fucking real shit man, i came back from the dead. i pulled through. never going into a casino ever again. too much risk, so much at stake at the sake of a dice.
so he sat there, without saying anything. not a word. i waited around 2-3 minutes (usually they would make the trade after a few seconds). i began to worry. so i initiated the trade.
nothing. no trade accept.
and then i see my character walking towards the exit. you know what that means. i've been kik'd from the room. for the next half hour i tried reentering the room, only to discover him not being there. i couldn't report him either, because it was against the ToS to partake in gambling of any kind. i was shaking. it was also around 9:30 PM, supposed to be getting ready for bed. but nope, couldnt sleep. i laid down on the couch.
i'll never forget his ign.
>>51726005
I'm gonna use RethinkDB in a new project soon.
MongoDB had several issues in the past, maybe you should investigate about it.
>>51726813
this is the end btw, forgot to add the (2/2)
>>51726813
What was his IGN?
>>51726830
Well that ending was disappointing
NoSQL has been laughed out of the industry as garbage used by hipsters.
Please don't.
>>51726844
1mcgrady
>>51726971
An italian, no wonder he scammed you
>>51726005
Where are the web scale memes?
I think I hear postgres supports json now making mongodb obsolete.
>>51727980
So is Mongo kill?
And even if Mongo isn't kill, would it be a better alternative to use a relational database? I don't really want to put a lot of work into the server. I need something that "just werks".
>>51726005
How do you make games in HTML5? I haven't done any Web work since 2005.
>>51728420
Try to find a book or a recent tutorial. Search engines are very efficient lately.
>>51728420
You could check out RPG Maker MV to see how it does it. It uses http://www.pixijs.com/ for rendering and http://nwjs.io/ for a stand alone executable.
>>51728046
>I don't really want to put a lot of work into the server
>MMORPG
HA HA HA HA HA HA HA HA HA HA HA HA HA HA HA HA HA HA HA HA HA
You are about to learn a cruel lesson.