Git Product home page Git Product logo

lexitour's Introduction

LexiTour: Basic Brackets Tournament Site with nodeJs, Express, Jade and jQuery Bracket

Run npm install in console to install dependencies: All dependencies will be downloaded by npm to node_modules folder.

Run 'node app.js' to start server at port 3000: Open http://localhost:3000 to access Site.

ToDo:

  • Add comments
  • Make methods reusable
  • Use .promises
  • Move jQuery scripts to seperate folder

Caveats: Tournaments can be started by : Starting new and adding players manually : Loading a csv (comma separated values) from folder ./public/customlists : Loading a previously saved tournament from folder ./public/savedgames

  • A csv file example resides in 'customlists' folder.
  • All games are saved automaticly as json files soon as as a cell is edited and can be loaded at any time for print or to be finished at a later time.
  • Games saved will have the tournamant name set as file name, If duplicate name exists It will be overwritten. Loaded tournaments will have filename set as tournament name and will be saved with that name.
  • Loaded csv games will have 'null' added accordingly to balance brackets and randomized using a version of Fisher–Yates Shuffle. But there are no checks for 'double null' values beacuse in some cases this can lead to infinite loops so some manual positionion may be required so a player does not go to the finals automatically.

lexitour's People

Contributors

sam-bavi avatar

Watchers

Auston LeRoy avatar

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.