Git Product home page Git Product logo

codegames's People

Stargazers

 avatar

Watchers

 avatar  avatar

codegames's Issues

Bugs and QOL features

Today 10/10 - 2020 we took 30 minutes to test for bugs and missing QOL features on the commit: 4f636d4
These are the things we found missing.

Bugs

  • Guest can only see words in textbox
  • Guests have words textbox rather than plain text
  • Guests can interact with options
  • Options look bad when you turn owner in an existing lobby
  • Redo text boxes entirely
  • Team without spymaster
    Reproduce: Owner leaves as spymaster [server-side]
  • Trim each word before checking for packs
  • Its possible to select your current language
  • Sometimes theres an empty word at the start of the word list
  • Language list arrow is not centered

Not required for release

  • SM icon blinks on team switch
  • Cant see you are getting kicked
    Redirect to another html page
  • Creating from welcome should use link params for room creation
  • Opens on IE
  • Flip arrow on dropdown
  • Create elements on parent elements rather than document
  • Unmarking tiles on team red will sometimes leave wrong text color because of transition time

QOL

  • Save words on language back and forth
  • No link params for words or languages or packs

[SERVER] Messages to players

Add a way to give a message/warning to players ex. We will restart the servers in 15 minutes etc.
Fix >Stop So it actually kicks players before stopping the server.

Reproduction steps pie problem

Pies dont get colors when there are too many team.

  1. add 2 players to each team
  2. mark top-left words in game in blue team, then all the other teams

image

SERVER.room
{rid: "6gw", players: Array(11), options: {…}, words: Array(25)}
options:
teamCount: 8
words: Array(0)
length: 0
__proto__: Array(0)
__proto__: Object
players: Array(11)
0:
name: "Player"
pid: "M7iZQ45-2Vo772InAAHQ"
spymaster: false
team: 2
__proto__: Object
1:
name: "Player"
pid: "zsMUeIXoXswIdJKfAAHR"
spymaster: true
team: 2
__proto__: Object
2:
name: "Player"
pid: "cW_uc871m2bde_G-AAHS"
spymaster: true
team: 4
__proto__: Object
3:
name: "Player"
pid: "P7sMEkTaRtmIh-P7AAHT"
spymaster: false
team: 8
__proto__: Object
4:
name: "Player"
pid: "PMZw3WZ4FuvvFsoXAAHU"
spymaster: false
team: 4
__proto__: Object
5:
name: "Player"
pid: "XSGj4mErPRejDpdEAAHV"
spymaster: true
team: 6
__proto__: Object
6:
name: "Player"
pid: "OI9FYEfQCLJRcJRJAAHW"
spymaster: false
team: 6
__proto__: Object
7:
name: "Player"
pid: "7Iarmwi_aYHxSYpyAAHX"
spymaster: true
team: 7
__proto__: Object
8:
name: "Player"
pid: "MT2vHCdDezodJaYfAAHY"
spymaster: true
team: 8
__proto__: Object
9:
name: "Player"
pid: "Wdmh4obstKvYEh8HAAHZ"
spymaster: true
team: 5
__proto__: Object
10:
name: "Player"
pid: "qf15ygE3wwTXBPtHAAHa"
spymaster: false
team: 5
__proto__: Object
length: 11
__proto__: Array(0)
rid: "6gw"
words: Array(25)
0:
marked: Array(5)
0: "P7sMEkTaRtmIh-P7AAHT"
1: "PMZw3WZ4FuvvFsoXAAHU"
2: "OI9FYEfQCLJRcJRJAAHW"
3: "qf15ygE3wwTXBPtHAAHa"
4: "M7iZQ45-2Vo772InAAHQ"
length: 5
__proto__: Array(0)
team: -2
__proto__: Object
1:
marked: Array(0)
length: 0
__proto__: Array(0)
team: -2
__proto__: Object
2:
marked: Array(0)
length: 0
__proto__: Array(0)
team: -2
__proto__: Object
3: {team: -2, marked: Array(0)}
4: {team: -2, marked: Array(0)}
5: {team: -2, marked: Array(0)}
6: {team: -2, marked: Array(0)}
7: {team: -2, marked: Array(0)}
8: {team: -2, marked: Array(0)}
9: {team: -2, marked: Array(0)}
10: {team: -2, marked: Array(0)}
11: {team: -2, marked: Array(0)}
12: {team: -2, marked: Array(0)}
13: {team: -2, marked: Array(0)}
14: {team: -2, marked: Array(0)}
15: {team: -2, marked: Array(0)}
16: {team: -2, marked: Array(0)}
17: {team: -2, marked: Array(0)}
18: {team: -2, marked: Array(0)}
19: {team: -2, marked: Array(0)}
20: {team: -2, marked: Array(0)}
21: {team: -2, marked: Array(0)}
22: {team: -2, marked: Array(0)}
23: {team: -2, marked: Array(0)}
24: {team: -2, marked: Array(0)}
length: 25
__proto__: Array(0)
__proto__: Object

Post release QOL

  • Drag n drop team switch
  • Enter to go into last selected text box
  • Cookie based word caching
  • Leaving should keep name
  • Advanced words optional
  • Log to user in UI on errors
  • 3s delay before game start
  • Generate new rid button
    to pseudo ban players

Repack and unpack words

Repack the words after a game based on wether or not all the words of a certain pack are in the wordlist.
Add an option to unpack words in the lobby if there is a certain word you dont want from a pack.
Create your own custom packs with cookies.

Enter word bug

When typing a word in the lobby words field, there is a trim error

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.