Giter Club home page Giter Club logo

ladder's Introduction

Ladder

An ELO ladder implementation built with Grails.

TODO list:

  • Code
    • clean up password functionality
    • match statistics to player view (match count, win-% etc.)
    • charts with http://grails.org/plugin/google-visualization
    • edit own matches within an hour of insert
    • some kind of simple CMS to provide info/news on front page
    • comment on matches (and players)
    • registration to ladder via ladder page instead of automagic
    • support for multiple ladders
    • openid auth
    • i18n
    • error messages
    • user input sanitation
    • tests
    • better navigation
    • enhanced logging: daily rolling logs that are zipped
    • profile page where user can edit his name, login and password
    • saving history information
  • Wiki
    • Instructions
    • Basic structure

ladder's People

Contributors

antionio avatar kimifoud avatar rauli67 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rauli67

ladder's Issues

Internal Server Error when no opponent is selected

Bad input needs to be handled properly.

Around line 98 of grails-app/controllers/org/carniware/ladder/MatchController.groovy
95: match.ladder = ladder
96: match.player1 = player1
97: match.player1rating = player1.eloRating
98: def player2 = Player.get(params.player2)
99: match.player2 = player2
100: match.player2rating = player2.eloRating
101: match.winner = Player.get(params.winner)

Replace /match/myMatches with /player/show/<player's id>

The best possible approach would probably be by making an URL mapping from /match/myMatches to /player/show/<player's id> if it is possible to get the current user's id (or current user's [current ladder's] player id) in the URL mappings.

If that's not possible. Make the static link on the navbar point to /player/show/<player's id> OR better yet, make /match/myMatches detect current player id and redirect to /player/show/<player's id>.

CMS for news/info on the front page

Some kind of a simple content management system is needed for showing news or other notifications on the front page (and possibly other pages too).

Recommend opponents

This feature could recommend suitable opponents based on one's current score and match history.

Player view

Page where matches of the selected player are shown.

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.