Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

167
Vistas
Best way to automate expiration dates?

I'm writing a program that essentially simulates a game of tag. I want users to be able to tag another user, giving the tagged user 24 hours to tag back. If after 24 hours the tagged user has not responded they lose the game. What is the best way to implement a system that will check if 24 hours have passed without user interaction being a requirement? I believe this scenario is very similar to how Snapchat has implemented 'streaks' where users can have a streak if they each snap each other every day for more than 3 days in a row etc. If a user does not send a snap within 24 hours the streak expires automatically.

I am using .net and entity framework core with plans to use an in-memory database to begin with. Any design ideas/code snippets are welcome.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda