module.exports = function (stackName, id) {
	if (typeof id === 'string') {
		id = this.idByFront(stackName, id)
	}
	this.stacks[stackName][id].right += 1
}

var copy = require('../copy.js')
module.exports = function (stack, id) {
	var newStack = copy(stack)
	if (typeof id === 'undefined') {
		// stack is not a stack - it's just a card, so update the card's right key
		newStack.right += 1
	}
	else {
		newStack[id].right += 1
	}
	return newStack
}

Make f.gotRight() work with actual arrays
Make f.gotRight() work with actual arrays
