I

I made a browser-based RTS game

Hacker News

I made a browser-based RTS game

I've posted this game here before, hopefully a repost is fine as the game has changed quite a bit (improved AI, improved mapeditor, much quicker gameplay, etc). Game is based on JavaScript/Canvas and WebSockets. On the browser side the map is pre-rendered (as a background image), just the mobile units/buildings and animations are dynamically rendered. The lobby server is made in node.js, but the game server is C++ for performance reasons (mainly the pathfinding). I found the C++ WebSocket libraries out there to be too difficult to use so I made my own based on the rfc. Overall I think making a game like this is quite easy with the browser performance/features nowadays. The game server and client side JavaScript are around 5000 lines of code each. If you have any questions about the tech I'm happy to answer them.

Share card

Actual performance

212points
61comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: code · Missing: mac, agents, macos
66%66% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
59%59% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, 000, io · Missing: https docs, excited, just released
52%52% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
46%46% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
10%10% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

qq
qq-pwn – A browser-based idler game42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

qq-pwn – A browser-based idler game

Hacker News4
A
A minimalistic browser-based game to de-stress33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A minimalistic browser-based game to de-stress

Hacker News13
Bowdown
Bowdown44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Multiplayer, browser based, archery combat game

Indie Hackers1games
Browser based FFUF
Browser based FFUF26%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A simple browser based FFUF Fuzzer Tool

Indie Hackerscommitment-side-project
Tr
Trailmarks – Huge, browser-based, Carmen Sandiego-style travel game34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Trailmarks – Huge, browser-based, Carmen Sandiego-style travel game

Hacker News19
Br
Browser-based digital signage41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Browser-based digital signage

Hacker News7
Co
Commute to work in this retro browser-based game51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Commute to work in this retro browser-based game

Hacker News2
3D
3D browser based multiplayer game54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

3D browser based multiplayer game

Hacker News7
St
Strudai, browser based agentic wrapper around Strudel33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Strudai, browser based agentic wrapper around Strudel

Hacker News5
Mo
MoneyGame – Browser-based business simulation game46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MoneyGame – Browser-based business simulation game

Hacker News7