jj1bdx / erltrek

An Erlang Star Trek game
http://jj1bdx.github.io/erltrek
Other
16 stars 2 forks source link

Use course/distance as command input #18

Open kaos opened 10 years ago

kaos commented 10 years ago

Right now we take coordinates as direction for move and attack.

I'd prefer these to be direction and distance based, so you need to use your head a little ;)

Also, when the ship computer is installed (i.e. implemented), there's a command there for calculating the course/distance to a given coordinate. But the computer may get damaged, so it may not always be available, and it takes a little extra time, so if you've got a good eye, it will give you an edge on the competition (planning for multiplayer.. ;)

What do you think? (I think we may have touched on this subject before..)

jj1bdx commented 10 years ago

No objection on bumping back to the polar coordinate system as in the original BSDtrek/luatrek. A course/distance computer should be implemented as well (and will get damaged).