News for hackers. Stuff that matters.
Re:Show HN: Open-source Counter-Strike-like game by modeless on Tuesday October 22, 2024 @03:50PM (#41918003)
The client runs in Electron, but there is no web version? Why not?
Re:Show HN: Open-source Counter-Strike-like game by beepbooptheory on Tuesday October 22, 2024 @04:39PM (#41918471)
Just run `python -m http.server 4000` inside the www directory! Seems to be working for me.
Re:Show HN: Open-source Counter-Strike-like game by modeless on Tuesday October 22, 2024 @04:43PM (#41918499)
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.
Re:Show HN: Open-source Counter-Strike-like game by solcloud on Tuesday October 22, 2024 @04:53PM (#41918580)
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

Re:Show HN: Open-source Counter-Strike-like game by artemonster on Wednesday October 23, 2024 @03:50AM (#41922791)
No UDP in browser?
Re:Show HN: Open-source Counter-Strike-like game by modeless on Wednesday October 23, 2024 @12:14PM (#41926494)
Not true anymore! Here's my port of Quake III with UDP multiplayer: https://thelongestyard.link/

It uses WebRTC DataChannel for UDP. The code is here: https://github.com/jdarpinian/ioq3