kavish5 / fantasy-score-calculator Goto Github PK
View Code? Open in Web Editor NEWThis is a service written in node js which calculates fantasy points/scores for a match. The industry of fantasy gaming in India is moving at a great pace where you can continuously find new apps promoting and catering to fantasy gaming (especially cricket) for its audience. With the boom which seems never-ending, I thought of an idea to have a common code base for the same to calculate the same team performance on various platforms. Most of the apps (as per current writing) do not have their own separate fantasy scoring logic or even if they have, they are just differentiated by points for actions and nothing else. For e.g. app A gives 1 point for 1 run whereas app B gives 0.5 points for 1 run for a batter. That's totally something someone can code in a proper generic way to fulfill all the common needs. Most of the apps currently follow the standards, set by the market owners i.e. Dream 11 and so I thought to have a code that can at least help a start-up or some ongoing apps to reuse the same logic in every way possible for their own use case.