Comments (8)
HI ,my English is poor,sorry ,but thank you for your share again
from footballsimulationengine.
penalty_taking and jumping what is that mean??
from footballsimulationengine.
sometimes the ball and player stop,why?Most of the iterations in 3 4000 occur
from footballsimulationengine.
- There are currently no result metrics - I've created an issue: #31
- I would do between 4000 and 6000 iterations for each half.
- I don't provide graphics as part of the node module, but in https://github.com/GallagherAiden/footballsimulationexample you could adapt:
for (i = 2; i < result.length - 1; i++) {
ctx.beginPath();
ctx.moveTo(result[i], result[i + 1]);
ctx.lineTo(result[i] + 1, result[i + 1] + 1);
if (i < 24) {
ctx.strokeStyle = '#ff0000';
} else if (i > 12 && i < result.length - 3) {
ctx.strokeStyle = '#0000FF';
} else {
ctx.strokeStyle = '#000000';
}
ctx.stroke();
i++;
}
in https://github.com/GallagherAiden/footballsimulationexample/blob/master/public/js/match.js to write the player names instead.
4. penalty_taking is how good they are at taking a penalty and 'jumping' is how high they can jump including their height.
from footballsimulationengine.
from footballsimulationengine.
Hi @flylee2004 - I'll look to fix the players and ball getting stuck and will associate it with this issue: #33
I'm looking to work in ratings and fitness into the algorithms of success for tackles, free kicks, penalties, shooting etc in the next version I publish.
from footballsimulationengine.
@flylee2004 please let me know if you want anything specific raising or fixing
from footballsimulationengine.
Hi @flylee2004 I have added a temporary fix for players getting stuck: 7bf5cf8
this is not on the npm node module but in this repository (so you will need to clone the repo). it may or may not be included in the next version. Please let me know if there's anything else you would like help with
from footballsimulationengine.
Related Issues (20)
- Corners are sometimes incorrectly given to the wrong team HOT 1
- Player Rating HOT 1
- Players on opposing teams cannot have the same name HOT 2
- Not returning a ball position when resolving deflections HOT 1
- Corner Improvements HOT 1
- Functionalise getting the penalty box boundaries HOT 1
- Goal Scored iteration log doesn't say which player scored HOT 1
- Error setting ball position after deflection HOT 1
- intent position showing as undefined HOT 1
- add goals to players statistics HOT 1
- Players not on pitch after free kick setup HOT 1
- Player variable undefined HOT 1
- highNumb somethings is float HOT 5
- Is this project still active? HOT 1
- Occasionally only one player runs towards the ball HOT 2
- AutoGoal HOT 1
- Find Index with player name HOT 1
- ayyg
- Players return to pitch after red card HOT 1
- In iteration JSON I have observed the ball position last index sometime goes missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from footballsimulationengine.