Page MenuHomePhabricator

WikiGames: allow playing archive of previous days' games
Closed, ResolvedPublic5 Estimated Story Points

Description

Why are we doing this?

By creating an archive of games we can allow for engaged users to spend more time playing the game

Proposal
  • Allow players to view their historic streak + scores
  • Allow play of archive of games (starting at first posted game in your langauge) that will be generated on the fly
  • No replaying of previously played games
  • We cannot allow people to review previously played games (eg. if you click on the date in the archive for a game you played you get a snack bar saying, ‘thanks, but you already played this game’ or something similar or you see the score larger, but you can’t replay or review the questions)
  • Archive starts on the date that the game is launched in your language
Some general guidelines and decisions:
  • For selecting which previous day to play, let's try to use a standard Material date picker.
  • If a previous day was already played, it cannot be replayed, nor can the previous questions be reviewed.
  • If the user plays a previous day's game, it will not count towards the current "streak" of the user.
  • If the user starts playing a previous day's game, then leaves the app until the next day, the game will reset to the current day, and any progress in the previous day's game will be lost.
  • The user will not be allowed to play days earlier than the "rollout" date of the game (to be hardcoded).

(figma)

Event Timeline

Dbrant set the point value for this task to 5.Apr 24 2025, 5:24 PM

@WRai-WMF this looks good! just two notes—

  1. if a user taps today's date on the archive, can the results snackbar also pop up? right now, nothing happens.
  1. right now, if I start playing an archival game, complete at least one question, leave the game temporarily, then come back to it, it starts me off at the beginning of that day once again. can we ensure that returning to an archival game the same day preserves your place in the game? we should be landing the user on this screen to remind them of their place in the game before they continue playing.

Hi @SChekfa-WMF , Thank you for the review.

if a user taps today's date on the archive, can the results snackbar also pop up? right now, nothing happens.

The snackbar does show up when you tap on the today's date.

This is the APK for the updated changes, also includes archive game on the final fragment.
https://drive.google.com/file/d/1ZVES92FNTMBiCFJKN5cQ-z8sWb-mgbgG/view?usp=drive_link

thanks so much William, this looks great! the snackbar is working for me on today's date as well now.

just one last extremely minor thing — can you make the "playing" text lowercase for "Continue playing"? Right now it says "Continue Playing".

Note for QA: to access the archive for testing purposes, launch the game under the German language, which will allow playing games as early as Feb 20.

@cmadeo could you confirm that you're ok with this? We release the game on May 21, and the archive games will accumulate only after that date. With this set-up, users will always see the "Play the archive" option, but those who access it on the first day of release will not have archival games immediately.

@HNordeenWMF Thanks for flagging this. It's not ideal but not something I would hold the release for. Thanks everyone!