Coder Social home page Coder Social logo

howardchung / jeopardy Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 8.0 144.98 MB

Play Jeopardy online with friends

Home Page: https://jeopardy.app/

License: MIT License

HTML 1.70% Shell 0.78% JavaScript 2.80% TypeScript 88.01% CSS 6.69% Procfile 0.02%

jeopardy's People

Contributors

bdbch avatar dependabot[bot] avatar howardchung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jeopardy's Issues

Board control announcement delayed

Recently the gridding will occasionally break. There will sometimes be a row that is empty save for one category, a row that is 4 categories and one dollar amount, 4 rows of dollar amounts that are shifted by one column, and one row that is empty save for one dollar amount. We also noticed that the voice is one round behind the game in saying who has the board (e.g. if person A has the board, person B answers correctly, it will say A still has the board despite the pointer being correct). I am not sure what causes the issue, but I have noticed it only recently and it happens to everyone in that lobby.

judgeanswer should check current question and judging state

If a client is lagging this can lead to unexpected random judging.

The judge function should take the question being judged and drop commands that don't match the current question. Also, only allow judge commands to come in when the answer is revealed.

Add spectator mode

spectators should be able to:

  • view all board state
  • not be able to pick clues
  • be skipped for purposes of waiting for all players to do something

Update daily double image

Request from user:

I was wondering if you could update the daily double to the season 38 daily double and update the intro and theme when you use to play intro button to the season 38 theme and graphics can you do that and add graphics like add Jeopardy double and final Jeopardy graphic cards and daily double graphic cards as well

Able to load some game #s manually but not others?

Hi, when entering specific game numbers manually from the J-Archive site, the app seems to load some and not others. Not sure what the pattern or reason is. For example, trying any game from range 841-949 doesn't seem to load (but 840 and 950 do). Regardless of this minor detail, thank you for making this app - it is fantastic!

game949

Reconnect state restore doesn't work with two tabs in the same browser

Currently we record the socket id in localstorage and on reconnect, send it back to the server to restore the old player state e.g. score. However this doesn't work with multiple tabs open since they all shaare the same localstorage.

Not really a huge issue since there should not be two players playing in the same browser but makes testing weird

alternate scoring methods

Rather than "first correct player gets points everyone incorrect before loses points", allow scoring using Coryat or other methods that don't necessarily rely on speed.

In Coryat everyone who got the right answer would get the points and and everyone who got it wrong loses points, speed doesn't matter. DDs are scored as the regular value (wager doesn't matter)

timed text entry period based on buzz

Currently, there is a 15 second period per question for buzzing/entering which is the same for everyone and begins after the question is done reading.

However, this means that someone can buzz early and have more time to think. To be more fair we should probably limit the period that a user has to enter their answer after buzzing. . . although this might cause problems with long answers

Add Instructions to the application

We are unable to start a game after joining with three players. We are stuck on a black screen, Changing the game mode does nothing. Clicking on "Game#" does nothing. The chat box is empty. All we are able to do is set our player names and see them below the black screen.

Screenshot from 2024-01-27 23-43-45

Please add play instructions.

Host mode

Enable a special mode for a host to run living room games

Currently, living room games with many players should generally be run in Coryat mode(to let more than one person score, but this also disables DDs)

Ideally we find a way to have DDs but keep the "more than one person can score" behavior--maybe a new "host" mode that is basically Coryat with DDs?

The host should be:

  • Permanent picker (but if we keep DDs they aren't eligible for DDs, so the person who got the last first correct answer should be the only person allowed to answer)
  • Only person able to submit judge commands
  • Ideally they should also be removed from the scoreboard, displayed elsewhere as "host", and not count towards waiting for players to buzz or pass, but less important

Containerizing the App

I'm looking to containerize the app. I can't quite seem to get the page to load, however.

I started to create a Dockerfile:

FROM node:19.9.0-alpine3.17

WORKDIR /app

COPY . .

RUN npm install && \
    npm run buildServer

ENTRYPOINT ["npm", "run", "server"]

EXPOSE 80

as well as an accompanying Compose file:

---

services:
  application:
    build: services/application
    ports:
      - "80:8080/tcp"

While I can hit the following endpoints successfully:

  • /ping (GET)
  • /createRoom (POST)

I can't get the app to load. It's just a blank white screen.

Any tips or pointers on what I'm missing?

Thanks!

Bulk judging race condition

The bulk judge currently submits all the judge results on the client as separate commands. This is causing some judges to get dropped. To fix we should submit the bulk judge as one command and let the server parse it

Also the bulk judge ui should apply trim and remove emoji when considering answers the same

The bulk judge ui should also be tested with other users clicking judge buttons manually and with players connecting/disconnecting

Answer box doesn't show up sometimes on ios

Seems like some people in large games (usually iPhone users) have reported the answer box doesn't appear after buzzing in. Doesn't happen consistently,and may be based on the question text length

Adding Photos to Questions

Hi Howard, big fan of your work. I was wondering if there was a way to embed photos into the questions. I've tried multiple ways but wasn't sure. Thank you!

New Games Not Working

Hello.

Recently, new jeopardy games have not been working. When I enter the show title the game board becomes a black screen, starting with game 8807. I know that there were recently some changes to J-Archive!, so maybe that has something to do with it. I am a big fan of this software and it has made playing jeopardy games with my friends significantly easier. Thank you.

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.