The question is quite abstract and in the answer I would like to see your thoughts on this topic, which will be closer to the point than my thoughts. I do not even know what to indicate tags ..

The game generates results and stores the best result on the server. Played the game set a new personal record, you need to quickly (if you have access to the Internet) to synchronize with the results on the server and check where this record is in order to instantly display a message about the new record in the dialog box after the defeat. Those. in this case, you probably need to use a database like Mysql, rather than just storing the results in a text document and parsing it every time. In general, the first criterion is the processing speed (let's skip the work of the Internet and the server itself, the only question is the correct information structure). What else is needed? whether all the same will be some sort of parser? And since this is all done for training purposes, rather than for earning money, I would like a way for free implementation, for example, to store a data table on a Yandex disk. (but then the question is how to properly attach the password so that it cannot be reached (at least easily), for example, by decompiling the program. I don’t want to use a ready-made copy from Google to store the results. Since everything is for educational purposes

If you store it in a text file, even if it weighs only a few kilobytes, then each player must have the entire list of records and rewrite it each time, this time and the second is that many players will overwrite the entire file, then the disk can send nafig. So you need a database and server .. Which database is better for this business? and which one can use a free server if you don't want to keep your computer turned on.

  • one
    Something does not fit in with me "lightning fast" and a lot of players with "training goals" - vp_arth
  • not lightning fast, and how they do when it is required to record 500 thousand people for example in the table. Why can't we write this server part for training purposes, so that it is designed for a large number of players? maybe I will use it later in some kind of toy. - Turalllb

0