mirror of
https://github.com/FranP-code/Tic-Tac-Toe-Game.git
synced 2025-10-12 23:52:39 +00:00
6 lines
178 B
JavaScript
6 lines
178 B
JavaScript
export default function addStartButtonFunctionality(game) {
|
|
|
|
const button = document.getElementById('start')
|
|
|
|
button.addEventListener('click', () => game(false, false))
|
|
} |