.. | ||
bingoBossApp | ||
bingoCardApp | ||
entityScripts | ||
images | ||
modules | ||
secrets | ||
serverScripts | ||
testApp | ||
README.md |
BINGO
A Bingo game for High Fidelity. Requires setting up a domain in a very specific way. There's no easy way to deploy this Bingo game on your own domain right now.
Secrets
The code for this game is open source. There are two sets of secrets that you must have set up for this game to work:
- A
secrets.json
file in<bingo root>/secrets/secrets.json
that contains a"requestURL"
key/value pair used by the game when requesting information from the Bingo Web app, which must be deployed and ready when starting the game. - A
dbInfo.json
file in<bingo root>/webApps/dbInfo.json
that contains the data below.
dbInfo.json
Here's what your dbInfo.json
file should look like:
{
"mySQLHost": "<the host associated with your database>",
"mySQLUsername": "<MySQL DB username>",
"mySQLPassword": "<MySQL DB password>",
"databaseName": "<the name of the database associated with Bingo>"
}
Testing
You can perform a local 1-person test of this new code by doing the following:
- Restore a Bingo content archive onto your local sandbox so that you have all of the necessary content.
- Set up your Secrets as per the "Secrets" section above.
- Run the
bingo.js
Web app from a local NodeJS v10.15.1 installation- Run
node bingo.js
from thewebApps
directory
- Run
- Run MySQL locally.
- You can create the necessary Bingo database by modifying the
startup()
function within thebingo.js
web app script.
- You can create the necessary Bingo database by modifying the
- Run a local HTTP server to serve the client/server scripts, then change all of the script URLs on the content.
- With Python 3.x installed, stand up a simple HTTP server with
python -m http.server 8888
from thebingo
directory.
- With Python 3.x installed, stand up a simple HTTP server with
Release Notes
v2.0 | 2019-02-14_11-38-00 | commit 4ae9e0b
- Transitioned Bingo backend from Google Scripts to custom High Fidelity Experiences backend.
v1.16
2019-02-05_15-44-00 commit 4a5b7fb3ffdf58a0a212f5293cb042392f177871
- Update UI version on Spawner entity script
v1.15
2019-02-05_15-06-00 commit 534d4defa76dd6b1b1a65ec31a5ecff7406ece90
- Small update to prize language
v1.14
2019-02-05_09-41-00 commit cd209119d66842c3f30ace0876c2ebe97af48c22
- Moved backend DB to new URL
v1.13
2019-02-04_16-10-00 commit cd209119d66842c3f30ace0876c2ebe97af48c22
- Fixed off-by-one error during Bingo prize selection
v1.12
2019-02-04_12-04-00 commit cc224b357248076d2d50af50f03f6c4ce9fd9523
- Fixed oculus prize name
v1.11
2019-02-04_11-28-00 commit 1719ac704da653e32747ef5e6deaa96236005dc9
- Removed stillOccupied and Cleanup logic for scanner zone stability
v1.1
2019-02-04_10-25-00 commit 373745235ae2dda3cb123978752bf6f00ed9a06e
- Added error message to Bingo card app when not logged in
V1
02/01/2019 commit bd16f6dacfdade1ee07a89987b2d834390cdefb2
-Applied new Coding Standards -Applied new file structure standards -Added prize doors and prizes -Removed texture swapping -Implemented scanner walk through with stage bouncer zones