Giter Site home page Giter Site logo

Comments (3)

souliane avatar souliane commented on May 9, 2024 1

Mmm, what about "Challenge TB Battle"?

from lightblocks.

MrStahlfelge avatar MrStahlfelge commented on May 9, 2024

The reason I did not add it was because the profile can be opened from various game modes that are completely different from turn based battle mode.
I think the button could be added for players that already know how the turn based battle works, and it should be labeled in a way that the user understands that you are challenging the other player in turn based battle. Do you have a suggestion for this label?

from lightblocks.

MrStahlfelge avatar MrStahlfelge commented on May 9, 2024

Good idea.

The backend will send a flag at the profile to indicate if the button should be shown or not. For the first iteration, this will be true exactly if you (the requesting player) already played TB battle and the other player was active within the last three weeks (push notifications are only sent if the player was active within this period of time). At a later point of time, there can be more restrictions added in the backend (for example some players opting out, blocking others, ...)

from lightblocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.