0 Replies Latest reply on Jan 6, 2018 4:04 PM by Paul Fowler

    Pseudo-Random in OPA

    Paul Fowler

      Every so often (about once every 2-3 years) I have thought, "gee, a random number generator might help here..." 

       

      Granted, there is Rulescript, Javascript, APIs, so the problem is easily solved as-is. But, I have also found OPA natural language itself to be very powerful and flexible.  I simply prefer using OPA over javascript, now-days.  That is just me.

       

      Knowing that other members of the community have on rare occasion had the same though about random number generators in OPA using natural language, this blog post has a possible solution:

       

      Selecting Pseudo-Random in OPA + an OPA game...