Beta
Tank coding #1 : simple AIM systems
14Wittybit
Loading description...
Algorithms
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Shots can sometimes clip through terrain:
The kata's physics model is completely unphysical: it has no acceleration due to gravity, and instead the vertical velocity of the shot decreases by
50 / speed
each tick.The kata does not explain any information crucial to derive the result in the description. It doesn't even tell you you're supposed to calculate projectile motion. This is definitely unacceptable.
(Also, I'm pretty sure projectile motion is a duplicate)
At least these things are missing:
Your initial code is wrong:
Thx! Fixed it! =)
All heighs are in meters
look like a typo?All heights are in meters
Yes, thx =)
Pls solve this =) I know you are good thinker. i hope you will do it!
I don't think I have the ability to solve this kata.
Because I don't know what formula to calculate it.
My math is not very good;-)
xD https://www.google.ru/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#newwindow=1&q=Projectile+Motion First link(Wiki) Try it! Can give you hint how to find angle =)
It looks interesting, but I don't know what x and Y mean?
The other question is how to calculate the angle and power
I didn't find the answer in your Kata description ;-)
x - horizontal position y - vertical position. Angle is in degrees and power is in m/s And gravitation - is 10 m/s
To calculate power and angle use maths =) I can help you if you have any other questions.
Needs some example test cases please
Hello, matt! =) Didn't noticed that. Maybe i will create them =) What do you think about this kata?
I did it! =) Now, you have some example testcases =)
Can you solve it? Pls =)