nicolasmaskal / futsal-ultimate-manager-be Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://www.futsal-manager.tech/
Home Page: https://www.futsal-manager.tech/
There are multiple magic constants used here, and it's kinda getting out of hand
Currently it is possible to submit usernames with a length of one. Change to 6 for instance.
Can't view a team. of an another player.
Can't play as a team. of an another player against the cpu.
Can't open a pack for a team of an another player.
A rested player has to gain stamina, while a playing one has to lose stamina
50 % chance to create new team upon trying to play new match
50 % chance to pick already created if team exists(can only play against same team, if last 3 matches weren't against said team)
Remove sell_price and coin amount if team/player isn't player owned
It is first needed to complete: #2
Edit Done
There will be an endpoint on team/{id}/buy-pack with a body where pack type is stated
Pack types:
Bronze
Silver
Gold
Each pack consists of 3 players.
Bronze will be somewhere between (team_ovr -10, team_ovr)
Silver will be somewhere between (team_ovr -3, team_ovr +3)
Gold will be somewhere between (team_ovr, team_ovr +8)
Coins gained after match will depend on difficulty level
Formula 100 +(10*difficulty difference)
bronze pack will cost 100
silver pack will cost 200
gold pack will cost 400
After opening a pack, players will be added to the team.
There will be a maximal team size of 12 to play a match
so an endpoint of team/{id}/check-size is needed that will also automatically be called before playing a match.
This method will be called by the FE automatically, after the user decides which players he will keep
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.