Skip to content

[BUG] Accepts empty name as input  #148

Closed
@sahil-1729

Description

@sahil-1729

Describe the bug

Before starting the game, the game starts without taking name as input

To Reproduce

Steps to reproduce the behavior:
Go to main page
Click on 'Let's Start'
Scroll down to 'name'
Keep name box as empty
Click 'get set go', then 'start now'.
The app continues the game without taking name as input

Expected behavior

The application should have taken the user's name as input before starting the game.

Screenshots

imageimage

Desktop (please complete the following information):

  • OS: WIndows
  • Browser: chrome
  • Version: 113

Additional context

I can fix this by adding a check on the name and displaying an error message wherever required. Please assign this to me under GSSoC'23, as I am GSSoC'23 contributor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions