Re:Photos from inside a Typhoon class submarine
by fastball on Saturday October 31, 2020 @06:15PM
(#24955644)
There is no possible way you are seeing something happen "in real time" on a web game written entirely in PHP.
[ Parent
| on HN ]
Re:Photos from inside a Typhoon class submarine
by UweSchmidt on Saturday October 31, 2020 @07:10PM
(#24955983)
Of course not, the page is static, but the game runs in real time on the server, so you could be in danger and have to refresh/move to find out. The point is, and it is subtle, you never get distracted by a website and some self-updating elements until you decide to pay attention and take some action (refresh). It works and is very simple.
Re:Photos from inside a Typhoon class submarine
by derivagral on Sunday November 01, 2020 @10:20AM
(#24960013)
I assume this is oGame or similar? When I was in high school I had a lot of fun learning Javascript/HTML in the console & TamperMonkey to create shortcut menus, faster actions, track area activity, etc.
The modern versions of these use a lot more Javascript for countdown timers, and while that's nice the pages usually feel slower.