D
D
Dima_kras2018-04-30 07:32:31
Web development
Dima_kras, 2018-04-30 07:32:31

What architecture to choose for a web application?

Good afternoon, we are making a control system for indoor laser tag. It's like paintball, where they run and shoot paintballs, only here instead of balls there is an IR impulse, like a TV remote control. The players are wearing vests that catch the momentum and count the defeat.
During the game there is a mission to capture the point - the player runs up, shoots at the point. The data is sent to the server. We are currently developing this data transmission and game control system.
In terms of software, there is a Linux server + Apache + SQL base
When shooting at a point, the point sends a GET request with the player's data to the server over the local network. The server counts the shot, if all the points are captured - the team won. This is conditional, the mission mechanics are more complicated. There is resource extraction, flag transfer, etc. in fact, each event is a GET request that goes to the server.
Now GET requests are leaving, what point is currently captured is written to the database.
The question is how to implement game mechanics? What are the modern development tools?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2018-04-30
@Stalker_RED

Now even some refrigerators and irons can send and receive GET requests.
Take the language that you know, or entrust the choice to someone you hire. Ideally, this is a person who has already developed games.
Your description of the mechanics is not particularly detailed, but it is likely that it will be enough to write a small state machine, or just a bunch of if-s with condition checks.

S
Saboteur, 2018-04-30
@saboteur_kiev

On any.
Apparently, you do not have a performance problem, so you can try it in a scripting language - it's convenient that the code will not require additional compilation.
Try the default php or python.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question