question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prevent endTurn until movesPerTurn is satisfied

See original GitHub issue

There is a mechanism to end the turn automatically after a number of moves have been made: https://github.com/google/boardgame.io/blob/master/src/core/flow.js#L83

We’d like to extend this so that the turn cannot be ended earlier (via endTurn) until these many moves have indeed been made.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nicolodaviscommented, Feb 4, 2018

Both proposals have now been implemented, so closing this.

1reaction
karel1980commented, Jan 27, 2018

@nicolodavis you argument makes sense. I don’t mind sending a PR either.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Any help on getting the Machine Strike Trophy? I am not good ...
123 votes, 40 comments. 25K subscribers in the HorizonForbiddenWest community. Now entering Cauldron: FW Subreddit Prime.
Read more >
Blood Bowl II FAQ/Walkthrough v1.30 - Neoseeker
Introduction. Blood Bowl 2: Legendary Edition – FAQ/Walkthrough. Version 1.30. Created by Mythril Wyrm. To explore the FAQ, use the Table of ...
Read more >
Legend for Need column - DriveThruCards.com
The original game is for 4 players, 2 vs 2 game. * Deal 8 cards to each player. A player may call. Grand...
Read more >
How Total War AI is evolving to be more fun – and how we're ...
We sat down with Dr. Tim Gosling, one of our AI top dogs at Creative Assembly, to talk about the goals and evolution...
Read more >
Sid Meier's Civilization III - Strategy Guide - PC - GameFAQs
For Sid Meier's Civilization III on the PC, Strategy Guide by Denouement.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found