Trying to create an engine to create roulette systems.
Start off by selecting an action, setting trigger conditions and the next action when the trigger condition is met. One trigger condition links to one next action, and you can select one or more trigger conditions.
The Bet action will allow you to select bet locations and amounts.
With just these items, do you think it would be possible to build your roulette system?
Hi!, I'm inspecting block-based coding for implementing this request by HardMan:
https://rouletteideas.com/coding-requests/request-manual-system-assembling-interface/
The current candidate is Blockly by Google, which is best explained by video:
The editor used on the video is live at:
https://blockly-demo.appspot.com/static/demos/code/index.html
Blockly allows custom blocks:
https://developers.google.com/blockly/guides/create-custom-blocks/define-blocks
This opens the possibility for the kind of bet definition DSL we're targeting.
For text-based, good ol' StringTemplate by Terence Parr is the one IMHO:
- https://www.stringtemplate.org
- https://github.com/antlr/stringtemplate4
Hope it helps.
Quote from: VLS on Nov 13, 2022, 03:31 AMHi!, I'm inspecting block-based coding for implementing this request by HardMan:
https://rouletteideas.com/coding-requests/request-manual-system-assembling-interface/
The current candidate is Blockly by Google, which is best explained by video:
The editor used on the video is live at:
https://blockly-demo.appspot.com/static/demos/code/index.html
Blockly allows custom blocks:
https://developers.google.com/blockly/guides/create-custom-blocks/define-blocks
This opens the possibility for the kind of bet definition DSL we're targeting.
For text-based, good ol' StringTemplate by Terence Parr is the one IMHO:
- https://www.stringtemplate.org
- https://github.com/antlr/stringtemplate4
Hope it helps.
Awesome. I'll hold off then. This is cool and I'm looking forward to seeing how it works.
Quote from: FreeRoulette on Nov 13, 2022, 08:02 PMAwesome. I'll hold off then. This is cool and I'm looking forward to seeing how it works.
I'm glad you like it, yet please remember this is just one way or perspective for getting to the goal of transforming user intent into bets...
Do feel free to try any other technique/way!
Cheers 👍