How to play unpopular games available on BGA
Posted: 12 September 2014, 02:31
The games I'd like to play on BGA are rarely played nowadays, so when I create a table no one joins and I waste gaming time ><
Turn based in not an option for me so I ended up writing a script which beeps me when someone creates a rarely played game I like. All I have to do is open the page listing open tables, copy/paste the script and do something else till someone creates a table and the script beeps me.
It's quite convenient; maybe some day it could become a new feature?
Here is the code to enter in your JavaScript console:
Make sure to fill gameList with other games than 8 Masters' Revenge and Twin Tin Bots ^^
(You can trust this code, I programmed a few games for BGA including Sobek, Quoridor and Time Masters).
Turn based in not an option for me so I ended up writing a script which beeps me when someone creates a rarely played game I like. All I have to do is open the page listing open tables, copy/paste the script and do something else till someone creates a table and the script beeps me.
It's quite convenient; maybe some day it could become a new feature?
Here is the code to enter in your JavaScript console:
Code: Select all
var gameList = ['8 Masters\' Revenge', 'Twin Tin Bots'], _knownTables = {}; window.setInterval(function () {dojo.query('.gametable_status_open').forEach(function(elmt) {var tableId = elmt.parentNode.id; if (_knownTables[tableId]) return; _knownTables[tableId] = true; if (dojo.indexOf(gameList, dojo.query('#'+tableId+' .gamename')[0].innerHTML) != -1) playSound('tableReady');});}, 2000);(You can trust this code, I programmed a few games for BGA including Sobek, Quoridor and Time Masters).