Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with BoardGameArena (i.e. probablly a PHP version of server) #1177

Open
kinland opened this issue Mar 4, 2024 · 0 comments
Open

Comments

@kinland
Copy link

kinland commented Mar 4, 2024

I'd like to create a prototype of my board game designs using Tabletop Playground & boardgame.io, and then reuse the code I've written, without having to rewrite everything, as the basis for a BoardGameArena version. BGA unfortunately doesn't support nodejs on the backend, and requires PHP. I haven't found a good way to work around this - the best Idea I have would be executing node from within PHP, which I have a feeling wouldn't work on BGA.

I've looked around to see if there are any mature tools for transpiling JS/TS code to PHP, and found a few prototypes that don't seem ready for primetime. I tried to find a PHP nodejs interpreter library, and similarly, didn't have any luck. So AFAIK, the only way to pull this off would be to have a PHP port of the boardgame.io server, then continue using the boardgame.io JS client.

I noticed that this library unfortunately isn't in active development anymore, which is a shame, so I doubt this will happen, but it would be great if it did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant