GithubHelp home page GithubHelp logo

django Models about telegiphy HOT 6 CLOSED

zapplecat avatar zapplecat commented on August 17, 2024
django Models

from telegiphy.

Comments (6)

zapplecat avatar zapplecat commented on August 17, 2024

Added a few more items to game rounds: user_text, giphy_url, and game_over

from telegiphy.

zapplecat avatar zapplecat commented on August 17, 2024

Waiting on resolution on #26 before making pull request.

from telegiphy.

zapplecat avatar zapplecat commented on August 17, 2024

Will be redoing these to be more simple, one on one relationships.

from telegiphy.

zapplecat avatar zapplecat commented on August 17, 2024

If people have no complaints on the current models structure, someone please merge and delete #30 branch.

from telegiphy.

corez92 avatar corez92 commented on August 17, 2024

Yeah, but how does this work? Do people have to fill in their username somewhere? I was thinking we could use sessions to identify unique people OR make like 4-6 basic usernames and people just use those to join a game, but that's the lame way lol

Anyway I think we need to sit down and discuss this model.

I also think there has to be a field called Initial_word that is True/False for the game round table. It checks to see if the entry is the initial one when the game starts.

from telegiphy.

zapplecat avatar zapplecat commented on August 17, 2024

I merged the initial model, but we can sit down to talk about this and make edits if necessary.

Re: your questions:

  1. Instead of the game immediately giving them their token, the user should type in a screen name. Then they will receive a game token. The reason the user token exists is for a REST API where the client can pass the user and game token and we (the server) will fact check their query.
  2. We don't need an initial_word field since we know which round is the first round, and we can just find the initial GameRounds.user_text off of that.

from telegiphy.

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.