<input type="button" class="random" value="игрок">
<input type="button" class="random1" value="сбор статистики">
<button type="button" class="random">игрок</button>
<button type="button" class="random1" disabled>сбор статистики</button>
let btn1 = document.querySelector('.random');
let btn2 = document.querySelector('.random1');
btn1.addEventListener('click', () => btn2.disabled = false)