[Suggestion] API / Communication Protocol

General chit-chat and minor questions about just about anything

Moderator: NBJeff

5B7f9A1XQioOmbpz
level1
level1
Posts: 48
Joined: Fri Apr 01, 2016 12:19 am

[Suggestion] API / Communication Protocol

Postby 5B7f9A1XQioOmbpz » Sat Apr 09, 2016 2:00 pm

Based on Max's suggestion of introducing multiplayer (obviously not the first time this has been suggested), I had a novel idea -- Why not introduce some form of communication protocol?

So people can start coding their own servers.

The concept might be a bit complicated to explain but I'll do my best. I'll draw on an example from another field of software engineering -- chess engines. Long since, the effort to join both the UI and the chess engine (that actually plays the chess itself) was abandoned in favour of a communication protocol, via stdin and stdout. Whereby the chess engine has no visual front end and just communicates with UI. Via, for example (and most commonly used) the Universal Chess Protocol. Something similar could be done for Prison Architect.

We'd just need to establish an actual protocol and the developers of PA would have to implement this protocol into PA, whereby it communicates with an external process. In turn, this external process actually communicates across the Internet, to other instances of itself, run by other people.

The communication would consist of basically everything that defines a prison and is required to run it. So, everything in materials.txt, the entire prison and so forth and so on, entity locations, jobs and so forth and so on. Although, obviously, only the PA instance of whoever is running the server would queue jobs and such.

Maybe I'm just being silly but, well... I was brainstorming on a MUD engine in Rust and my creative mind just got the better of me for a moment. ;) At least I'm looking forward to feedback. ;)
User avatar
christopher1006
level5
level5
Posts: 1019
Joined: Sat Jul 28, 2012 9:01 pm

Re: [Suggestion] API / Communication Protocol

Postby christopher1006 » Mon Apr 11, 2016 7:19 pm

I suppose my main question here is, well, why? What does letting people get data of what your prison is like and doing accomplish? I can't really decide where I stand here since you're not really saying why players would want it.

Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest