No caso, o botão não executa nenhuma ação ao clicar. Antes eu havia testado com outra condição como o nome "Alugar" e "Devolver" e deu certo, ou seja, o problema está nesse contains.
function alterarStatus(numberGame){
function alterarStatus(numberGame){
let gameNow = document.getElementById(`game-${numberGame}`);
let botton = (gameNow.querySelector('.dashboard__item__button'));
let image = (gameNow.querySelector('.dashboard__item__img'));
if (image.classList.contains('dashboard__item__img--rented')) {
botton.textContent = 'Alugar';
botton.classList.remove('dashboard__item__button--return');
image.classList.remove('dashboard__item__img--rented');
} else {
botton.textContent = 'Devolver';
botton.classList.add('dashboard__item__button--return');
image.classList.add('dashboard__item__img--rented');
}
}