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

Multilingual #270

Draft
wants to merge 2 commits into
base: default
Choose a base branch
from

Conversation

Lichtschalter-5000
Copy link
Contributor

@Lichtschalter-5000 Lichtschalter-5000 commented Mar 14, 2021

Hi there, it's me again, trying to revive the closed PR #170, thus closing #168.

Sadly, I got stuck somehow and I just can't find out where my issue is.
I got to the point where you can start a game, but then you'll be presented with an error message: request to https://undefined.wikipedia.org/w/api.php?action=parse&format=json&page=Kamiyah_Mobley failed...
Furthermore, you can start a game with one player selecting English and the other German, but the players will be thrown in the same game (I anticipated their games should only start when there's another player with the same language).

Besides, I'm struggling with debugging. I figured out how to activate the debugger, but for example in start-game-button.js I can change the function onClick to contain debug(...) (of course including the line const debug = require('debug')('WikiBattle...')), but sadly, this does not appear to have any effect. Commenting the line with bus.emit(... will make the button stop working, so obviously it can't be running the wrong code. I'm a bit clueless about that.

Thus allowing for (later) adding HTTP requests when selecting start/goal articles
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

Successfully merging this pull request may close these issues.

1 participant