Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
138 views

Online Browser Game Resource Incrementing Production Problem

I am working on a browser game where there are citys and their resource productions. Each player has their own production rate for each resource.Lets say stone as example. I have production rate,...
l0veisreal's user avatar
0 votes
2 answers
1k views

How to Structure my Database for a HTML turn-based strategy game?

I'm making simple HTML socket game that I want to record over time. It's a "risk" type game where individual tiles can be conquered, and the team with the most tiles is winning. As of right now, I'...
Kevin Hu's user avatar
0 votes
1 answer
2k views

Structure game database to store player info and items

Recently I started developing my tiny html5 multiplayer game made in Node.js, Express.js, MongoDB(Mongoose), Socket.io and using Phaser.js. I am quite new to these frameworks and especially new to ...
UzendayoNE's user avatar
1 vote
2 answers
823 views

Using hard coded values for Items?

Is it a bad idea to use hard coded values for things like items (static data) that would change infrequently in an online game? I'm designing an online game in node js, and I'm trying to decide if it ...
AwDogsGo2Heaven's user avatar
1 vote
1 answer
2k views

how to store game state for a multiplayer board game eg. poker

First Approach: Store the state in database and play with database queries. Could a database handle the load, as poker is quite fast paced, and I have to query/update database for each player move. ...
user3995789's user avatar
2 votes
2 answers
2k views

RPG: store dialog

I'm creating a single player web RPG. I was originally storing NPC dialog in a JS object. I could cycle through lengthy dialog in an array as I wanted. I can also store objects with K:V pairs. That ...
user3871's user avatar
  • 1,055
2 votes
1 answer
367 views

How can I keep track of a battle log on a web game?

Recently I started working on a Web turn-based PvP RPG game. Now I'm working on the battle system but I encountered some issues: How can I keep track of everything that happens in the battle? It ...
Jay Wit's user avatar
  • 163