W01fw00d / barbarians

A little web-browser turn-based strategy game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

User keyboard actions

W01fw00d opened this issue · comments

When user uses enter keyboard, closes info panel if open and endTurns if info panel is already hidden

Also, with esc/enter, user can close informative popups.
Also, with enter user can confirm a popup, and with esc, cancel it.

When user uses esc, game resets.

accesskey html attribute can be used for this?