Is it currently possible / feasible / not crazy to implement a multiplayer game using javascript (+ flash perhaps) with code running entirely in client and a server only used to host a db, which the app/game connects to, to store / get relevant multiplayer information (player&opponents position in game world/items owned/hiscore) ?
Asked
Active
Viewed 241 times
-1
-
I see problems with using js for the majority of this, the user could manipulate values easily. – Sturm Sep 04 '12 at 17:11
-
check out [BrowserQuest](http://browserquest.mozilla.org/) – Austin Greco Sep 04 '12 at 17:13
-
3sure you could, but it would be like *me* telling *the bank* how much money I have left after every withdrawal. and stackoverflow isn't the best forum for broad/open-ended questions like this. – J. Holmes Sep 04 '12 at 17:21
-
@32bitkit nice way to explain it :D – Redoman Sep 04 '12 at 17:23
1 Answers
1
If there is no server side code to validate the input received from the clients, the game will be prone to major security issues and everyone will be level 1million in no time.
Server-side code is mostly used to verify user input and format data received by a DB. You cannot do without it.

Salketer
- 14,263
- 2
- 30
- 58