←back to thread

238 points solcloud | 4 comments | | HN request time: 0.497s | source
Show context
dfox ◴[] No.41916309[source]
Making FPS game with Electron client and PHP server is an interesting choice of technologies to say the least.
replies(5): >>41916324 #>>41916332 #>>41916425 #>>41916828 #>>41919033 #
1. giancarlostoro ◴[] No.41916332[source]
I was unphased by Electron, but PHP for Counter-Strike? I'm hoping its using regular websockets.
replies(3): >>41916641 #>>41916696 #>>41916859 #
2. cuu508 ◴[] No.41916641[source]
*unfazed
3. hu3 ◴[] No.41916696[source]
Yep.

Server UDP:

https://github.com/solcloud/Counter-Strike/blob/7dab1533ec4d...

Client Websocket:

https://github.com/solcloud/Counter-Strike/blob/7dab1533ec4d...

4. solcloud ◴[] No.41916859[source]
server is written in PHP listening on udp, for client you can use modern web browser with websocket-udp bridge (provided in repo), or use nodejs (electron), I also provide prebuild binaries for some systems on itch https://solcloud.itch.io/counter-strike-football#download