Beta
Tank coding #1 : simple AIM systems
14Wittybit
Description:
###Tank coding #1 In this Kata you need to write algorithm that finding good angle and power of shot.
Input
: map as array of heights [ 0, 10, 20 ]
Length of map: 16
Meters between 2 points: 20
All heights are in meters
arrays of players and enemies. Each player/enemy has next structure:
{
x: 10, // All values are in meters
y: 10
}
Output
: array of shots with next structure:
{
angle: 30, // In degrees
force: 50 // In meters per second
}
Good luck!
Algorithms
Similar Kata:
Stats:
Created | May 17, 2016 |
Published | May 26, 2016 |
Warriors Trained | 789 |
Total Skips | 318 |
Total Code Submissions | 170 |
Total Times Completed | 14 |
JavaScript Completions | 14 |
Total Stars | 13 |
% of votes with a positive feedback rating | 86% of 7 |
Total "Very Satisfied" Votes | 5 |
Total "Somewhat Satisfied" Votes | 2 |
Total "Not Satisfied" Votes | 0 |
Total Rank Assessments | 4 |
Average Assessed Rank | 5 kyu |
Highest Assessed Rank | 4 kyu |
Lowest Assessed Rank | 6 kyu |