We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5389a93 commit 7208f8bCopy full SHA for 7208f8b
cyber_fit/script.js
@@ -490,13 +490,7 @@ inputField.addEventListener('input', function() {
490
491
function startGame() {
492
// Retrieve the player's name from the input field
493
- playerName = document.getElementById('playerName').value;
494
-
495
- // Check if the player entered a name
496
- if (playerName.trim() === "") {
497
- alert("Please enter your name before starting the game.");
498
- }
499
+ playerName = document.getElementById('playerName').value;
500
document.getElementById('startgame').style.visibility = 'hidden';
501
502
resetPivotPoints();
0 commit comments