robotopia-x / todo

:warning: DEPRECATED - projects will be now tracked on organization level
https://github.com/orgs/robotopia-x/projects/2
The Unlicense
1 stars 0 forks source link

Rotate command should be free #25

Closed paulsonnentag closed 7 years ago

paulsonnentag commented 7 years ago

Currently the rotate command cost 1 turn. This makes this command far less attractive then using move(up/down/left/right). There are still use cases for rotate though. For example walking in a square requires far less code:

repeat 4:
  move('FORWARD')
  move('FORWARD')  
  move('FORWARD')
  rotate('LEFT')

My suggestion is that the rotate command should be free and cost no turn.

Tasks

H3rby7 commented 7 years ago

You are probably right!
Maybe we can handle it kind of unit specific. Similar to the Speed of Units as suggested here
Thus we start of with a Rotate-Cost of 0, but having the option to create "heavy units" lateron, like catapults (or a fat person), that have turn costs.