Stijmalti / Space-Invaders--Simple--Stijmalti

This will be a simple "Space Invaders" style game, it will have pixilated images and low quality sounds to keep with the original Space Invaders game. The player will need to beat all three levels to win the game.
0 stars 0 forks source link

No Name Bug #5

Open Stijmalti opened 11 years ago

Stijmalti commented 11 years ago

nonamebug

A player could leave the name text box empty and still play without a name.

Stijmalti commented 11 years ago

This can be fixed by, adding this line of code to the text box ;

if (textbox1.text == "")

Then adding what happens, either refreshing the page or sending the user to another page or so on.