Code Monkey home page Code Monkey logo

minor-frisbee's People

Contributors

lhafkamp avatar

Stargazers

 avatar

Watchers

 avatar  avatar

minor-frisbee's Issues

Code isn't self-explanatory

It doesn't seem logical that you're selecting the first and third elements. What happende with numbers[1]??
Shouldn't you use a loop or a recursive function here?

numbers[0].classList.remove('scoreUpdate');
numbers[2].classList.remove('scoreUpdate');

I think you should consider refactoring the HTML first, the second paragraph element, could be a pseude element for example, which makes your HTML cleaner, and your JavaScript more simple

<p><%= leftScore || 0 %></p>
<p>-</p>
<p><%= rightScore || 0 %></p>

Make the main page real-time

Would be a nice feature but for the time being I left it out. I'm also not sure if this is a great idea because it could mess with the scalability (currently the only websockets that are used are the ones on the score pages).

Logo or shirt color per team

Add a logo or a shirt color icon so that the user knows more than just the team name.

Downfalls:

  • will have to make more request to the API if I want to get the resource_uri for each team

Add a web worker

Add a web worker to deal with the slow API requests in the background

Stats on the teams

A feature where you can click on the teams on the score page to see more info about them.

Success message on submit

Add a success message when submitting the final score. Currently it just redirects to the main page.

Add gzip

Compression for a faster app.

Ability to look for different tournaments

Right now you can only see the pool from a specific tournament on the main page. Would be cool to expand the app so you could see every tournament and filter on it.

Bundle controllers for easier requiring

Instead of requiring all controllers on their own, you can require all the controllers in a main controller file (controller/index.js), and expose them there. So you can require them through one file

const authController = require('../controllers/authController');
const mainController = require('../controllers/mainController');
const scoreController = require('../controllers/scoreController');

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.