thegrue / jeopardy Goto Github PK
View Code? Open in Web Editor NEWPlay real Jeopardy! games from J-Archive with up to three friends, with the magic of Angular, Socket.io, and Express. BYOB - Bring Your Own Buzzer!
Play real Jeopardy! games from J-Archive with up to three friends, with the magic of Angular, Socket.io, and Express. BYOB - Bring Your Own Buzzer!
I am also having a very similar issue where it outputs this when I donode app.js
/Users/ben/Downloads/jeopardy/app.js:19
var io = require('socket.io').listen(server);
^
TypeError: require(...).listen is not a function
at Object.<anonymous> (/Users/ben/Downloads/jeopardy/app.js:19:31)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47
I have v14.17.3 FYI. Thanks!
When I try to compile it outputs me this:
/home/simon/Documents/jeopardy/app.js:19
var io = require('socket.io').listen(server);
^
TypeError: require(...).listen is not a function
at Object.<anonymous> (/home/simon/Documents/jeopardy/app.js:19:31)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
even though npm and bower are installed
It appears that the way the clues are presented on J! Archive has changed slightly, specifically the table structure. There are now two items of class clue_text
which leads the exportRound
function found in api.js to treat both as separate clues with no answers. Without knowledge of JavaScript and jQuery, I could not figure this out on my own.
Willing to test solutions anyone might have.
As stated above. After installing dependencies and running app.js with Node, the localhost returns a blank webpage.
Here's the output from the Node App from one request:
Express server listening on port 3000
(node:16599) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use node --trace-deprecation ...
to show where the warning was created)
GET / 200 113.342 ms - 1175
GET /bower_components/bootstrap/dist/css/bootstrap.css 200 15.578 ms - 1175
GET /bower_components/angular-socket-io/socket.js 200 10.167 ms - 1175
GET /css/app.css 200 31.279 ms - 2033
GET /bower_components/angular/angular.js 200 6.392 ms - 1175
GET /bower_components/angular-bootstrap/ui-bootstrap-tpls.js 200 16.393 ms - 1175
GET /bower_components/angular-sanitize/angular-sanitize.js 200 21.456 ms - 1175
GET /bower_components/angular-ui-router/release/angular-ui-router.js 200 5.244 ms - 1175
GET /js/app.js 200 8.207 ms - 1320
GET /js/services.js 200 2.207 ms - 264
GET /js/controllers.js 200 2.424 ms - 315
GET /js/controllers/board.js 200 2.660 ms - 2974
GET /js/controllers/boardclue.js 200 2.978 ms - 407
GET /js/controllers/game.js 200 3.867 ms - 2752
GET /js/controllers/gameclue.js 200 1.810 ms - 2128
GET /js/filters.js 200 1.670 ms - 214
GET /js/directives.js 200 2.007 ms - 199
GET /favicon.ico 200 9.209 ms - 1175
What do? Where did I go wrong? Is the Git Repo no longer supported?
This program is absolutely fantastic. It would be very helpful for educators and those interested in non-jeopardy topics to create our own games. Not sure how easy this would be to implement? Perhaps a JSON template? Thanks for your work!
I know that no one has cared about this project for a while, but its there any easy way to make custom games? This is the best Jeopardy program I have found, but I can't figure out exactly what part of the program I need to modify that would let me make a custom game.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.