I am working on a game in a web application (ASP.NET), which will consist of one page, and on this page there will be a playground similar to a monopoly. I am trying to determine what the best architectural approach will be. The main requirements that I have defined so far are:
I was thinking about saving the state of the game in the database, but it seems that it is unnecessary to update the database when the game state object (say, in the cache) can be updated. For example, a stream might look like this:
Note that one server will serve several parallel games.
, . , , . - , ? , ! .
: - , ?
, , , -, .
, . , , , , .
, , gamestate , (, , ... ).
- , , , , , , . , , , "" . , , , .
, . ( ).
, " " , ( ). , , , () ( , , ).
ASP.Net , . , , , .
, . , .
. . ASP.NET. sessionID, .
, , -. , , .. 6 - .
Source: https://habr.com/ru/post/1698902/More articles:Can callback methods in PHP session_set_save_handler be private? - scopehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1698898/ie-css-fieldset-border-extends-too-far-to-the-right-why&usg=ALkJrhhLUqzKwh2Bw339HAoe4UpI2gVvUgЕсть ли блокирующий StreamReader, TextReader или StringReader в .NET? - inputШаблон наблюдателя с WCF MSMQ - .netNetbeans GUI Designer & Fixed-Size Application Panels - javaЕсть ли что-то между обычной учетной записью пользователя и корнем? - pythonFile structure / architecture for AJAX site? - ajaxRuns as administrator sometimes - c #How to check if mod_rewrite is working - apacheHow to compile a C # file outside of App_Code? - asp.netAll Articles