Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There is no possible way you are seeing something happen "in real time" on a web game written entirely in PHP.


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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: