Current Generation: 0
/**
* @param {{us: Action; them: Action}[]} beingHistory
* @param {{COOPERATE: symbol; DEFECT: symbol}} Action
* @returns {Action}
*/
function decide(beingHistory, Action) {
// Your logic goes here
// Sample code
if (beingHistory.length > 0) return beingHistory[beingHistory.length - 1].them;
else return Action.COOPERATE;
}