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!

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

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're 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.

Reference for classes in game class hierarchy

  • Table: a PHP class that you inherit from for the game php

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.


Translations and .TPL

Is there a way to do translations in the TPL? I have some text that's just the player action info, and I have it placed in the .tpl file, but it obviously doesn't translate. It feels awkward to move it to either the PHP or the JS, but if that's the way it is, sometimes that's just the way it is.
10/28/2020 1 comment

Where to slide when arriving from outside or returning to the box

In the game, some element are arriving on the board from a source that is not visible in the interface and other are leaving the board and going back to the "box".

Is there a standard "location" for 'from the box' and for 'back to the box' ? In other word, is there a standard that player are used to when element are moving out of the game but not onto the overall_player_board_[player_id] ?

I'm looking for an id of an html element.
For 'from the box', it will be use as a parameter for the dojo.place and after the element will be 'slideToObject' on the board.
For 'to the box', it will be use with the slideToObjectAndDestroy.

Edit : I figure I could use fadeOutAndDestroy for the element returning to the box.
10/28/2020 Comment on this

An award-winning designer looking for digital development

Hey there,

I hope the "award-winning" thing grabbed your attention, or not, lol.
It's just some print and play contest awards but still.. (:

Here's some games that I know many people will LOVE playing over BGA:

Buddha (Trick-taking card game which is similar to Skull King, but better)
Overview video: https://youtu.be/tXvZ3O9YAQw
BGG Page: https://boardgamegeek.com/boardgame/297639/buddha

Ramo (A Set Collection game that has the best parts from Contract Rummy, Mahjong and Uno combined, hence the name RAMO.)
Overview video: https://youtu.be/tOaQYFv1-VI
BGG Page: https://boardgamegeek.com/boardgame/286990/ramo

Miyav! (A "Fishing Type" Card Game (Similar to card game Cassino) for 2-4 players in which, cat breeders compete against each other by breeding the most kittens, preferably purebreds.)
BGG Page: https://boardgamegeek.com/boardgame/281119/miyav

Merkez (a roll & write city-building game)
BGG Page: https://boardgamegeek.com/boardgame/281190/merkez

Please send an e-mail to kutuoyunufalan@gmail.com OR ibiliss@windowslive.com if you are interested !

Looking forward to hearing back from you folks,

All the best to all gamers !
10/27/2020 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.