const clickButton = () => {
if (clickable) {
(중략)
let message;
if ([1, -2].includes(diff)) {
score += 1;
message = '승리';
} else if ([-1, 2].includes(diff)) {
score -= 1;
message = '패배';
(중략)
}
};