Coder Social home page Coder Social logo

fussi's People

Contributors

dhartmann avatar feibeck avatar katrin-schneider avatar leux avatar mjeri avatar mruprecht avatar tschlueter avatar x3rax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fussi's Issues

Avatar for players

The entity and form for players should be extended to have an email address of the player. The email address should be used to fetch an avatar image from Gravatar.

There is a ZF2 module for fetching images from Gravatar. This module should be reviewed and used if it provides the necessary functionality

Entering match results on iPad

It would be cool to have a keyboard with only numbers for entering match results. Maybe it is possible to give a hint to iOS to just display a number keyboard. Currently you have to switch from letters to numbers after activating a form field.

Enhance the game result input form

It should be possible to use the arrow buttons alongside the game result input fields to count from 10 backwards.

-> click back -> 10 -> click back -> 9 ..... -> click back -> 0 -> click back -> 10

The same goes to upwards counting. The field should contain a 0 after clicking the forward button with a 10 in the input.

Limit the list for adding players to a tournament

The page with the list of players of a tournament has a select field to add players. This list should be filtered and only contain the names of the people not already playing in the tournament.

There is already a prepared method that needs just to be implemented with a proper (DQL) query. See /module/Application/src/Application/Entity/PlayerRepository.php line 50, method \Application\Entity\PlayerRepository::getPlayersNotInTournament.

Edit a tournament

A user should be able to edit the parameters of a tournament.

A new tournament should be editable as long as no matches are saved. As soon as a match is entered, it should only be possible to change the name of the tournament.

Validate match result

The form for saving the result of a match should be validated.

  • Only integer values
  • The winner has to have 10 goals
  • Goals for both games have to be inserted

Add a player to tournament twice leads to exception

Mööp
An error occurred during execution; please try again later.
'An exception occurred while executing 'INSERT INTO tournament_players (tournament_id, player_id) VALUES (?, ?)' with params [2, 2]:

SQLSTATE[23000]: Integrity constraint violation: 19 columns tournament_id, player_id are not unique'

Validator of scored goals: Allow seven-point games

It should be possible to end a match if a team has scored seven goals (or any other amount of goals).

Possible Use Case:
As Game-Admin I will configure the amount of scored goals required for winning a game to allow multiple game settings. This configuration should be done per tournament.

RSS-Feed

RSS-feed that is updated after every match - match-result and top 3 players?

Allow more than one tournament

Currently only a monthly league for single player matches exists. It should be possible to have different leagues or tournaments.

Some ideas:

  • Players can be added to tournaments
  • Homepage displays the different tournaments

Optimize for iPad display

The monthly league display does'n fit on a iPad display. Display errors include line breaks in player names and in match results.

The ranking table and the player grid could for example be separated in two tabs.

Pagination error

The current installation for Mayflower allows the user to see the month 2012-11, which should not be possible. There seems to be an error with the date handling. During 2012-12 the date handling seemed to work ok, the november was not accessible.

Allow team matches

Allow matches with two players on each side of the table. For a game it should be possible to give the position of each player.

This probably only makes sense as soon as #13 is implemented.

Improvement for match results form

In every game the winner has 10 goals. The form should enter the 10 goals in the field for the winner as soon as a number less then 10 is typed in one of the fields.

Allow users to set parameters on tournament creation

It is currently not possible to set the parameters of a tournament, like the team type (single/double), the games per match and the start date. The form and the backend code should be extended to allow users to set those parameters when creating a new tournament.

Games per match greater 2

If games per match greater 2, the players get only points for the first 2 matches in tournament.

Also, if you hover over the overall result in tournament view, the popup shows only the first 2 results.

Add disque

Use disque to comment match / tournament / league games.

Eliminate warning due to missing timezone setting

$ vendor/bin/doctrine-module orm:schema-tool:create

PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/lorindol/Data/fussi/module/Application/config/module.config.php on line 40

New Idea for game result input

The current input elements for entering a game result is not very userfriendly, especially on a tablet or touchscreen computer.

Mimic the goal counter on the table soccer with some nice graphics and enable a click/touch setting of the goals.

Team 1: __1-2-3-4-5-6-7-8-9-10
Team 2: __1-2-3-4-5-6-7-8-9-10

Clicking or touching a number chooses the number as the goal count. For example after clicking on 4 in the first row on the example above will change the counter to:

Team 1: 1-2-3-4__5-6-7-8-9-10
Team 2: __1-2-3-4-5-6-7-8-9-10

As a further improvement, the current active number (4) could be highlighted or the numbers higher than the goal count printed in a lighter color.

The input "widget" allows the setting of a game result with just two clicks. Even better, it can automatically set the 10 on the other game as soon as a number lower than 10 is selected, which would reduce the number of clicks to one.

The "widget" could be implemented as a jQuery plugin that can decorate a single input element with the new input.

Start of a league should be saved with the tournament

The first month of a league is currently read from the module configuration. As each league or tournament should possibly have a different starting month this should be moved to the model layer and saved with the tournament.

Edit match result

As a user I want to edit a match result to correct any possible errors.

  • The current result should be visible in the form
  • Upon saving the form the match get's updated

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.