feibeck / fussi Goto Github PK
View Code? Open in Web Editor NEWFußi - Table Football Tracking
License: Other
Fußi - Table Football Tracking
License: Other
A user should be able to edit a player entity.
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.
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.
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.
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.
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.
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.
Use disque to comment match / tournament / league games.
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.
Currently only a monthly league for single player matches exists. It should be possible to have different leagues or tournaments.
Some ideas:
The dropdown buttons in the main navigation bar cannot be used on touch devices.
The form for saving the result of a match should be validated.
As a user I want to edit a match result to correct any possible errors.
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.
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.
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
For past months only the players that actually played games should be included in the player matrix.
$ 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
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.
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.
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.
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.
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'
If a player looses two or more games in a row, his/her trend is downward, if a player wins two or more games he/she is "hot" and his/her trend is upward.
Create a jQuery Plugin from the code in /public/js/fussiform.js. The javascript is used in /module/Application/view/application/match/edit.phtml.
RSS-feed that is updated after every match - match-result and top 3 players?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.