WandererXII / lishogi

☗ lishogi.org: the forever free, adless and open source shogi server forked from lichess.org ☗
https://lishogi.org
GNU Affero General Public License v3.0
263 stars 40 forks source link

Game presets #782

Closed WandererXII closed 5 months ago

WandererXII commented 7 months ago

As was discussed here: https://github.com/WandererXII/lishogi/pull/545.

Current 'modal view' (let's call it that) presented when creating a game can be rather confusing for new players, there is just too many options: image

This is trying to simplify the game creation and guide users towards fewer time controls. I also used two buttons for creating correspondence game, and we have a whole row for games against computer - the middle one being the highest level you defeated so far (starting after the update). Individual time controls might change. image

This is not quickplay the way lichess implements it, we couldn't feed it with the limited amount of players we have. This just creates a hook for you in the lobby, the same one you would get from using the modal view. So after clicking the preset, the tab switches to lobby tab, for correspondence games to correspondence tab and for ai games it just sends you to the game as you would expect. If a game with the same time control in the lobby already exists you will be auto joined.

Possible issues:

WandererXII commented 7 months ago

About the first possible issue:

Having text there seems like too much information and makes it look not centered. alt1

I kinda like having a check mark in the corner, although it's not immediately obvious what it means. alt5 Could also be green, but maybe it's too much: image

EDIT: Going with the checkmarks

olekawaii commented 7 months ago

I don't really like autopairing correspondence games. If you want to create some 3 day games but someone already has five 3 day game seeks, all your games will be against the same person and it's impossible for you to create games without first accepting those 5 games

WandererXII commented 7 months ago

That's the current behavior too right? This seems important, I am considering keeping some modified auto pairing when going from the preset - for example only auto pairing you with an opponent if you were not paired with said opponent in the last n games, but no auto pairing whatsoever when creating the game manually. But maybe that's just confusing... So perhaps no auto pairing at all for correspondence is better.

olekawaii commented 6 months ago

I like no autopairing at all, though it may be harder to find games with too many game seeks. you can only see 13 seeks at once and the correspondence lobby has no filter

WandererXII commented 6 months ago

Added filter, chart view, sort and separated variants and standard shogi - making it look more like the real time lobby tab. image

I changed it so there will be no auto pairing for correspondence when creating a game manually, and when clicking a preset it will not auto pair you with someone you were already paired with within the last hour.

WandererXII commented 5 months ago

I reverted the no auto pairing behavior (https://github.com/WandererXII/lishogi/commit/96043e90d4d222d5ba6c93b44ce609d2a77dc75b), since I thought it might result in too many duplicates and less matches overall, especially if some people came to expect the auto pairing. But to avoid matching the same players over and over, I made it that you won't be matched with players you are already playing a correspondence game with - which with limited player base is maybe similar to no auto pairing...

WandererXII commented 5 months ago

Done - https://lishogi.org/blog/post/ZcQjlRAAACMAgvrF. For issues with the current implementation create a new issue please.