If you see this message, it means that your browser failed to load this file.

You should try the following : check your connection, disable ad-blocker, clear your browser cache, try in private mode, try from another browser/computer/connection.

Home »
BGA Studio
(for web developers)

• You are a web developer fluent in server side (PHP, SQL) and client side (HTML, Javascript) languages

So this presentation looks easy and fun to you.

• You want full access to the BGA development stack to develop complex games (but we still advise you to start with something simple for your first game!)

Check the documentation and tutorials to get started!

BGA Sandbox
(for everyone)

• You want to set your game material on a virtual table with an easy to use "Powerpoint for Board Games" tool, and play with it immediately

Start the Sandbox and build your interface now!

• You have some development experience allowing you to use a simple scripting language to implement the rules

Check the documentation for scripting the rules!

What is BGA Studio?

Getting started

4 slideshare presentations to get ready to use BGA Studio in 30 minutes:

Reference Documentation

This page comes from BGA wiki, and has been written by BGA players community. Feel free to edit it!

What is Board Game Arena Studio?

Board Game Arena Studio is a platform to build online board game adaptations using the Board Game Arena platform.

It is open to any gamer with software development skills :)

BGA Studio website: http://en.studio.boardgamearena.com

Original announcement on BGA forum: http://forum.boardgamearena.com/viewtopic.php?f=10&t=1973

Discover BGA Studio in 5 presentations

Why, how, what... to start discovering BGA Studio, we prepared 5 "powerpoint" presentations for you:

How to join the BGA developer team?

Please see this page: How to join BGA developer team?

Great, I'm in! ... How should I start?

If you didn't already, check the presentations at the top of this page to get the basics.

Then, you should checkout the First steps with BGA Studio to make sure that runs fine.

After that, we strongly advise you to take one of these game creation tutorials:

Then start editing files and see what happens! ;)

Once you done with tutorials, you can start a real game (or join existing project)

If you have any questions, please check out the Studio FAQ first, then if you didn't find the answer you were looking for, please post your question on the development forum.

BGA Studio documentation

BGA Studio Framework reference

This part of the documentation focuses on the development framework itself: functions and methods available to build your game.

File structure of a BGA game

Game logic (Server side)

Game interface (Client side)

Other components

BGA Studio game components reference

Game components are useful tools you can use in your game adaptations.

  • Deck: a PHP component to manage cards (deck, hands, picking cards, moving cards, shuffle deck, ...).
  • Counter: a JS component to manage a counter that can increase/decrease (ex: player's score).
  • 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)

  • Draggable: a JS component to manage drag'n'drop actions.
  • ExpandableSection: a JS component to manage a rectangular block of HTML than can be displayed/hidden.
  • Wrapper: a JS component to wrap a <div> element around its child, even if these elements are absolute positioned.

BGA Studio user guide

This part of the documentation is a user guide for the BGA Studio online development environment.


Please remember me

Join the BGA Studio developers team

To start developing on BGA Studio and get access to development environment, you need to create an account below.

Personal infos provided in this form is NOT shown to anyone but BGA Studio admin, and is NOT used for any other purpose that BGA Studio organization.

(Must be valid. We may remove accounts from developers we can't contact.)

(3 to 20 characters. No space, no number, no special characters)

(The exact username you are using on BGA)

Important: we need your REAL name to attribute your work on the Studio & to send you stuff by Post when needed.

Important: we need your REAL name to attribute your work on the Studio & to send you stuff by Post when needed.

Please enter the security code you see

I agree to Terms&conditions for developers of BGA Studio.


onScreenWidthChange function

I noticed an empty function called onScreenWidthChange() in gameui. Can we use it or is reserved for other reasons? I can't find any documentation regarding it.

It appears better to use than onresize since it triggers when the playing area size changes even though the window has not. For example switching between log_mode = normal to 2cols

10/17/2019 1 comment

multiplayer: isCurrentPlayerActive() and checkAction()

Inside .JS, For a multiplayer action. I am noticing some strange behaviour with 'active' player functions.
I am trying to implement some 'user changes their mind' functionality.

within: onEnteringState: function( stateName, args )

the this.isCurrentPlayerActive() is not set to true during normal game flow.
If the page is refreshed via F5, then this.isCurrentPlayerActive() does come back as true, and all works ok.

Also, the this.checkAction('action_name') works fine when the player is active, but if the player is not active then this returns false.
The wiki doc suggests that this checks the game state, and doesn't say anything about the player being active or not. I can't find anything specific for checking the game state for JS.
10/10/2019 9 comments

Request on how to develop my game on BGA

Hi all,

I'm part of the Schmeta Games team. We are currently in a process of releasing our very first game (named Gangsta!) after a successful Kickstarter campaign. Gangsta is a 2-4 players card game with a lot of interaction between players. More information on http://www.schmetagames.be/en/gangsta.php.
Since I love playing on BGA, I would be so pleased to add our game to the BGA's collection. We are of course ready to pay for this development (although the sky is sadly not our limit on this matter).

Here are some additional information which might help you to understand how feasible it would be, technically speaking.
1. Rules (EN) : http://www.schmetagames.be/resources/pd ... les-EN.pdf
2. Gameplay video (EN) : check our video in the Gameplay section from our KS page : https://www.kickstarter.com/projects/1316370263/gangsta

Many thanks in advance !

Kind regards,

Lokhir / Yves
10/09/2019 Comment on this.

Application loading ... ...
THANK YOU : You are one of our most loyal players!
Get the best from Board Game Arena for only €2 / month.