Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

168
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda