prantlf/mau-mau

View on GitHub
src/node/console/ConsolePrompt.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function chooseCard has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function chooseCard(player) {
  return new Promise((resolve, reject) => {
    var playableCards = this.game.rules.pickPlayableCards(player.hand),
        otherCards = player.hand
            .pickCards(function (card) {
Severity: Major
Found in src/node/console/ConsolePrompt.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status