Comments (1)
Functionality is working correctly. However, in the 'playIteration' function of engine.js the following process was occuring:
- find team1 closest player
- find team2 closest player
- moveball
- decideMovement
.... obviously this causes errors! because the ball moves AFTER we find the closest player. d10b81d
This is fixed this in this commit and some test cases have been added. New process:
- moveball
- find team1 closest player
- find team2 closest player
- decideMovement
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.