Releases: GallagherAiden/footballSimulationEngine
Releases · GallagherAiden/footballSimulationEngine
v4.0.0.0 completed
- fixed: red cards didn't send players off the pitch correctly - fixed: player skills incorrectly assigned for tackles and slide tackles - fixed: corners and goal kicks not correctly assigned / calculated - fixed: intentPOS sometimes returned as null - fixed: second half returned kickoffTeam with the ball, now secondTeam - new: added ability to set the width of the goal to make the game more customisable
v2.2.0
- fix closestPlayer Report
- enhance test cases
- keep ball with player when they run or sprint
- improve run/sprint direction
- improve passing
- improve Error reporting
- track shot over time
- add saving
- add simple player marking
- add test simulation data
v2.1.1
- Added to allow more tackles and fouls
- Added fitness measure (currently has no affect on the game - see later versions)
- Remove promises from the internal functions (still required for three main functions as above)
- Includes a test suite (still in development)
- Improvements to ball movement to give movement over time instead of a 'jump'
- refactoring to improve source code readability
- Removed dependency on async function
- Resolved error where players leave pitch
- Provided setup data - e.g. a pitch JSON and two team JSONs for easier setup
- Allow interception of the ball whilst in transit
- Included ability to set a players action for each iteration to enforce a specific move
- Added Offside logic