Agree. I wrote the engine in Node (so punted on the threading problem a bit) then just ported pieces of the engine to firebase functions to handle the actual computation. Made testing a bit easier as I could just simulate players client side. What did you build yours in?