angel-manuel / COSMOSpheres

3 stars 7 forks source link

Positioning problem when shooting the laser #31

Closed Jsevillamol closed 10 years ago

Jsevillamol commented 10 years ago

The SPHERE is suppossed to alineate itself with the comet and enemy's base then shoot. Well, guess what: it doesn't.

angel-manuel commented 10 years ago

I don't really understand. The code that controls that is https://github.com/angel-manuel/COSMOSpheres/blob/master/phase2.cpp#L67-100 It you want to suggest a change...

Jsevillamol commented 10 years ago

I think I may have mistaken here. May someone briefly explain me what the SPHERE is supposed to do when shooting the laser? Also, why there are two strategies depending on the shots left? Shouldn't we do the same thing whether we have 20 or 10 charges left? Thanks in advance.