Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"act" command as automatic variant of "use" #1238

Open
kostmo opened this issue May 1, 2023 · 1 comment
Open

"act" command as automatic variant of "use" #1238

kostmo opened this issue May 1, 2023 · 1 comment
Assignees
Labels
C-Moderate Effort Should take a moderate amount of time to address. G-Entities An issue having to do with game entities. L-Commands Built-in commands (e.g. move, try, if, ...) in the Swarm language. S-Nice to have The bug fix or feature would be nice but doesn't currently have much negative impact. Z-Feature A new feature to be added to the game.

Comments

@kostmo
Copy link
Member

kostmo commented May 1, 2023

Building upon #1007...

Whereas the proposed type signature of use is:

use :: entity -> direction -> cmd unit

I propose an additional command act that automatically uses the "best" device to perform an action, similar to the current semantics of drill:

act :: direction -> cmd unit

This would preserve the convenience and interesting gameplay mechanics of drill while shedding the connotations of the drill name.

Implementing this could be as simple as renaming drill to act. Though drill may be re-introduced as a specialization of use.

@kostmo kostmo added Z-Feature A new feature to be added to the game. L-Commands Built-in commands (e.g. move, try, if, ...) in the Swarm language. labels May 1, 2023
kostmo added a commit that referenced this issue May 29, 2023
'act' command
kostmo added a commit that referenced this issue May 29, 2023
'act' command
kostmo added a commit that referenced this issue May 29, 2023
'act' command
kostmo added a commit that referenced this issue May 29, 2023
'act' command
@kostmo kostmo self-assigned this May 29, 2023
kostmo added a commit that referenced this issue May 30, 2023
'act' command
@kostmo kostmo mentioned this issue May 30, 2023
@byorgey byorgey added C-Moderate Effort Should take a moderate amount of time to address. S-Nice to have The bug fix or feature would be nice but doesn't currently have much negative impact. G-Entities An issue having to do with game entities. labels Apr 24, 2024
kostmo added a commit that referenced this issue Oct 19, 2024
'act' command
kostmo added a commit that referenced this issue Oct 19, 2024
'act' command
@byorgey
Copy link
Member

byorgey commented Nov 5, 2024

See #1286 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Moderate Effort Should take a moderate amount of time to address. G-Entities An issue having to do with game entities. L-Commands Built-in commands (e.g. move, try, if, ...) in the Swarm language. S-Nice to have The bug fix or feature would be nice but doesn't currently have much negative impact. Z-Feature A new feature to be added to the game.
Projects
None yet
Development

No branches or pull requests

2 participants