Skip to content

Commit

Permalink
update participation
Browse files Browse the repository at this point in the history
  • Loading branch information
uo276976 committed Feb 19, 2024
1 parent 89989c0 commit ea9835a
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
68 changes: 68 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"dependencies": {
"chart.js": "^4.4.1",
"react-chartjs-2": "^5.2.0"
}
}
7 changes: 7 additions & 0 deletions webapp/src/components/Participation.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
import React from 'react';
import Chart from "chart.js/auto";

const mongoose = require('mongoose');

// Número de juegos, preguntas acertadas/falladas, tiempos
// Esquema de preguntas -> question, correct, incorrects[]
// Esquema de Juegos -> usuario, preguntas[], respuestas[], tiempo

export const Participation = ({ goTo }) => {
return (
Expand Down

0 comments on commit ea9835a

Please sign in to comment.