kipraske / web-brogue

Play brogue in a web browser
GNU General Public License v2.0
20 stars 17 forks source link

Implement a method to refresh the entire console #19

Closed kipraske closed 8 years ago

kipraske commented 9 years ago

In particular mirroring processes doesn't quite work because we only get the updates - we need the whole thing

kipraske commented 9 years ago

We could send the brogue process another event such as RNG_CHECK, SAVED_GAME_LOADED, or END_OF_RECORDING to call the global function refreshScreen();

Not the highest priority but it is a little annoying right now.

kipraske commented 9 years ago

We will also need this for watching other people.

kipraske commented 9 years ago

Perhaps rather than using an event which may have other implications, we use a special keystroke combination that is currently not used.

I am thinking ctrl+shift+(null key) would work. So a key that is not used along with ctrl+shift would do it. Or maybe just something not used often like "~" which shows the seed and turn number.

flend commented 8 years ago

I ended up using a REFRESH_SCREEN event sent to brogue