Live data from Hacker News

Generals.io – Capture enemy generals to defeat them

generals.io

41–50 of 78 posts

Re: Generals.io – Capture enemy generals to defeat them

#41
post #30

original creator of generals.io here (late to the party) really cool to see people still having fun with this game I made in college! I sold the game a few years back because I didn't have time to properly maintain it, and I'm glad the new owners have kept it running. Linking to some past HN threads on this: - https://news.ycombinator.com/item?id=13145781 original generals.io post - https://news.ycombinator.com/item?…

How much does a game/IP like that sell for, if I may ask?

2-3x yearly net revenue, more if you're lucky.

Revenue is ultimately a function of DAU, either via ad RPMs or IAP / subscription conversion rate.

Also most sales agreements have a confidentiality covenant.

Re: Generals.io – Capture enemy generals to defeat them

#46

I keep losing games because "you went AFK" even though I've been moving units. What is considered "AFK"? Pretty frustrating tbh

in FFA, you need to take at least 10 tiles by turn 60. That means 11 tiles including your general. But if you encounter another player before turn 60 it won't make you afk no matter what.

(And note that to play well you'd want more like one tile every two-or-less seconds in FFA.)

Re: Generals.io – Capture enemy generals to defeat them

#49
post #26

It appears as though, for the keyboard shortcuts, they are matching on the "key", as in the actual letter, instead of the "code", which is more accurate regarding the actual position of the key. Just a minor annoyance for alternative keyboard layout users. Cool game, though!

This is something I never thought about. So key codes are based on the physical location of the key on a standard layout/qwerty, and changing your layout will cause the key value to change but not the code?

Yes, approximately. In X11 at least, the hardware codes are called keycodes, and the human readable names are called keysyms. Example of the XkbKeycodeToKeysym function in use: https://github.com/anko/xkbcat/blob/8abc3402cb679027a3bd0313...

Keysyms don't necessarily strictly match "key location"; keyboards are allowed to output whatever codes they want for whatever key they want (see e.g. QMK firmware; often used in custom keyboards to do complex conditional key remapping), but they're in practice relatively consistent between common keys on most keyboards, and consistent on the same keyboard even if you switch keyboard layouts in software, unless you have some custom keyboard firmware which functionality is stateful.

Re: Generals.io – Capture enemy generals to defeat them

#50
post #26

It appears as though, for the keyboard shortcuts, they are matching on the "key", as in the actual letter, instead of the "code", which is more accurate regarding the actual position of the key. Just a minor annoyance for alternative keyboard layout users. Cool game, though!

This is something I never thought about. So key codes are based on the physical location of the key on a standard layout/qwerty, and changing your layout will cause the key value to change but not the code?

[deleted]
Post reply on HN