Created
February 8, 2024 06:10
-
-
Save mostlygeek/515c83fc49a3da7398fd2f023a5de074 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- reel layout | |
- payline layouts | |
- | |
# lives with the python code: | |
/game_data/ | |
/slots | |
shrek.json | |
luckylady.json | |
stardust.json | |
/bonus_games | |
bonus1.json | |
# Schema: | |
{ | |
"game_type": "slots", | |
"reel_layout": [ | |
[ ... ] | |
], | |
"paylines": [ | |
[2,1],[2,2],... | |
], | |
"images": { | |
"Minor 1": "some-image.png", | |
"Minor 2": "another-image.png", | |
}, | |
".... something else for client": { | |
} | |
} | |
# Client / Server interaction | |
Client --> GET /game/shrek GET /game/ | |
Server --> | |
{ | |
"paylines": [ | |
[2,1],[2,2],... | |
], | |
"images": { | |
"Minor 1": "some-image.png", | |
"Minor 2": "another-image.png", | |
}, | |
".... something else for client": { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment