This is a documentation for Board Game Arena: play board games online !

Compatibility: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Studio_Framework_Navigation}}
{{Studio_Framework_Navigation}}
__TOC__


The mainsite is built with compatibility for several old browsers.
The mainsite is built with compatibility for several old browsers.
Line 13: Line 11:
At time of writing, <code>last 2 versions, not dead, > 0.2%</code> refers to:
At time of writing, <code>last 2 versions, not dead, > 0.2%</code> refers to:


and_chr 113
* and_chr 113
and_ff 113
* and_ff 113
and_qq 13.1
* and_qq 13.1
and_uc 13.4
* and_uc 13.4
android 113
* android 113
android 4.4.3-4.4.4
* android 4.4.3-4.4.4
chrome 113
* chrome 113
chrome 112
* chrome 112
chrome 111
* chrome 111
chrome 110
* chrome 110
chrome 109
* chrome 109
chrome 108
* chrome 108
chrome 103
* chrome 103
chrome 79
* chrome 79
edge 113
* edge 113
edge 112
* edge 112
edge 111
* edge 111
firefox 113
* firefox 113
firefox 112
* firefox 112
firefox 111
* firefox 111
ie 11
* ie 11
ios_saf 16.4
* ios_saf 16.4
ios_saf 16.3
* ios_saf 16.3
ios_saf 16.2
* ios_saf 16.2
ios_saf 16.1
* ios_saf 16.1
ios_saf 16.0
* ios_saf 16.0
ios_saf 15.6
* ios_saf 15.6
ios_saf 15.5
* ios_saf 15.5
ios_saf 14.5-14.8
* ios_saf 14.5-14.8
ios_saf 14.0-14.4
* ios_saf 14.0-14.4
ios_saf 12.2-12.5
* ios_saf 12.2-12.5
kaios 3.0-3.1
* kaios 3.0-3.1
kaios 2.5
* kaios 2.5
op_mini all
* op_mini all
op_mob 73
* op_mob 73
opera 98
* opera 98
opera 97
* opera 97
opera 96
* opera 96
safari 16.4
* safari 16.4
safari 16.3
* safari 16.3
safari 16.2
* safari 16.2
safari 16.1
* safari 16.1
safari 15.6
* safari 15.6
safari 14.1
* safari 14.1
samsung 20
* samsung 20
samsung 19.0
* samsung 19.0


[[Category:Studio]]
[[Category:Studio]]

Revision as of 09:13, 31 May 2023


Game File Reference



Useful Components

Official

  • Deck: a PHP component to manage cards (deck, hands, picking cards, moving cards, shuffle deck, ...).
  • Draggable: a JS component to manage drag'n'drop actions.
  • Counter: a JS component to manage a counter that can increase/decrease (ex: player's score).
  • ExpandableSection: a JS component to manage a rectangular block of HTML than can be displayed/hidden.
  • Scrollmap: a JS component to manage a scrollable game area (useful when the game area can be infinite. Examples: Saboteur or Takenoko games).
  • Stock: a JS component to manage and display a set of game elements displayed at a position.
  • Zone: a JS component to manage a zone of the board where several game elements can come and leave, but should be well displayed together (See for example: token's places at Can't Stop).

Undocumented component (if somebody knows please help with docs)

  • Wrapper: a JS component to wrap a <div> element around its child, even if these elements are absolute positioned.

Unofficial



Game Development Process



Guides for Common Topics



Miscellaneous Resources

The mainsite is built with compatibility for several old browsers.

We use a browserslist config to define the targeted browsers: last 2 versions, not dead, > 0.2%.

There are currently no hard rules about what you should target, but it is recommended to follow the same targets as the mainsite. You can use babel to compile your modern JavaScript code into backwards compatible code. Babel accepts a browserslist targets string, so you can use the targets above.

Current list

At time of writing, last 2 versions, not dead, > 0.2% refers to:

  • and_chr 113
  • and_ff 113
  • and_qq 13.1
  • and_uc 13.4
  • android 113
  • android 4.4.3-4.4.4
  • chrome 113
  • chrome 112
  • chrome 111
  • chrome 110
  • chrome 109
  • chrome 108
  • chrome 103
  • chrome 79
  • edge 113
  • edge 112
  • edge 111
  • firefox 113
  • firefox 112
  • firefox 111
  • ie 11
  • ios_saf 16.4
  • ios_saf 16.3
  • ios_saf 16.2
  • ios_saf 16.1
  • ios_saf 16.0
  • ios_saf 15.6
  • ios_saf 15.5
  • ios_saf 14.5-14.8
  • ios_saf 14.0-14.4
  • ios_saf 12.2-12.5
  • kaios 3.0-3.1
  • kaios 2.5
  • op_mini all
  • op_mob 73
  • opera 98
  • opera 97
  • opera 96
  • safari 16.4
  • safari 16.3
  • safari 16.2
  • safari 16.1
  • safari 15.6
  • safari 14.1
  • samsung 20
  • samsung 19.0