Cross-platform framework for gambling programming