cuttle icon indicating copy to clipboard operation
cuttle copied to clipboard

[Feature]: Unique names for games

Open Posoroko opened this issue 2 years ago • 4 comments

Feature Summary

each game has to have a unique name

Detailed Description

It could be annoying if multiple games ha the same name.
Requesting game names to be unique could be another security against trolls as the community grows.

If two players try to join the same game and multiple games are named alike, it might be very frustrating. A player could accidentally end up in the wrong ranked game.

I don't know if you guys have talked about this already, so I thought I would bring it up...

Posoroko avatar Nov 12 '23 11:11 Posoroko

Hello can I work on this one ?

kawaljen avatar Jun 04 '24 12:06 kawaljen

@kawaljen actually as written I don't think we want to do this. It will be annoying if you need to make a completely unique game name that has never been used before, since you'll have to keep guessing whether any given name has been used.

I'm open to suggestions for the best UX on this. Maybe it would be reasonable to say you can't make a game with the same name as a game in the list of open games i.e. one that has status GameStatus.CREATED and an updatedAt within the past 24 hours?

itsalaidbacklife avatar Jun 04 '24 12:06 itsalaidbacklife

Ok for the gamelist check

On the UX suggestions, the easiest way, would be to use the snackbar used for validation already (although it closes the createGameDialog on an error, which I find not great) Do you wish to get suggestions on showing error messages in different manner ? Screenshot 2024-06-04 191051

kawaljen avatar Jun 04 '24 17:06 kawaljen

or using the vfom validation I find the red color for error a bit too strong(v-theme-error) , maybe a brownish rose would be better

Screenshot 2024-06-04 203658

kawaljen avatar Jun 04 '24 18:06 kawaljen