D
D
demsp2021-01-20 15:11:34
Game development
demsp, 2021-01-20 15:11:34

How to store information on the server?

A board with figures can be drawn on a js framework. I did this using the example of the knight's move problem. During the game, the history of moves is stored in arrays (lists) and the moves can be scrolled back by clicking on the button in the lower left corner. The game (code and picture of the horse) is on my github.io account. Is
it possible to store the history of moves in a sql-base (which server is needed) or as an array in a js script?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2021-01-20
@vabka

If necessary, on the server, but you can raise the server with some database. In principle, any will do (even in files).
If possible at the front, then you can save to LocalStorage

I
Ivanka, 2021-02-25
@VaNo0o

For example, in the conduct of any business, it is important to use reliable cloud technologies that will allow you to store and process information remotely. Our company uses a virtual data center (IaaS). And here is the service https ://kazteleport.kz/service/obsluzhivanie-infor... , which is engaged in the maintenance of these information systems. We like the professional work of the guys, we recommend trying it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question