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.
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.
If you comment on reddit, don't you watch the page to confirm your comment went up? So not necessarily a productivity gain through Javascript. Conscious reloading is nice as there is no distraction: You take an action to see new state like login, new messages and notifications. Again, totally subjective.
There were plenty of games made with Flash, so game dev tools were developed independent of ad-tech.