Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 functiononClick
to containdebug(...)
(of course including the lineconst debug = require('debug')('WikiBattle...')
), but sadly, this does not appear to have any effect. Commenting the line withbus.emit(...
will make the button stop working, so obviously it can't be running the wrong code. I'm a bit clueless about that.