There should be a hosted demo at least. The web's big advantage is instant distribution with no installation on any platform. I think it's a shame to build using web tech and then throw away your biggest advantage by requiring platform-specific local installation.
there is indeed a web version like others mentions, I also provided a prebuild binaries for lots of os/arch at https://solcloud.itch.io/counter-strike-football (and anybody can open PR for more), for hosted webpage demo I can for sure hosted somewhere on public internet as can anybody else, so I will leave that as a optional exercise for a reader to host community server :)
I think most users will build from source or use provided pre-build binaries
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
Ditto. Today's PHP is not your what your grandfather used to use. It's a much matured and evolving language. Python only got so popular due to Google's use and AI. It's like the new Perl.
thank you I guess, I started with php because of rapid development and TDD, but now you can transcode php to C++ or WebAssembly pretty easily, so using vkphp or once wasm socket will be in spec than it is free easy transcode (or using Emscripten), or second option since code is quite simple it will take like barely one week to rewrite it in c++ or other languages which is my plan once the game is future complete and stable (hopefully I will not have to develop my own language :D)
I came here for the cstrike and stayed for the 'open source' toxic popcorn. Please keep me in the screenshot when this gets picked up by all the news sites.
Comments (168) 20 threads
Earlier commentsI think most users will build from source or use provided pre-build binaries
It uses WebRTC DataChannel for UDP. The code is here: https://github.com/jdarpinian/ioq3
Server UDP:
https://github.com/solcloud/Counter-Strike/blob/7dab1533ec4d...
Client Websocket:
https://github.com/solcloud/Counter-Strike/blob/7dab1533ec4d...
There are definitely issues with getting fine grained memory control in a performant manner but for general processing it's pretty competitive.
I guess if the client is Electron, they're stuck with the web stack.
I don’t see any correlation.
And great project.
thank you
All comments shown.
Couldn't load more comments. Check your connection and try again.