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

combustion #1432

Merged
merged 8 commits into from
Aug 21, 2023
Merged

combustion #1432

merged 8 commits into from
Aug 21, 2023

Conversation

kostmo
Copy link
Member

@kostmo kostmo commented Aug 18, 2023

Closes #1355

Demo

scripts/play.sh -i data/scenarios/Testing/1355-combustion.yaml --autoplay

image

@restyled-io restyled-io bot mentioned this pull request Aug 18, 2023
src/Swarm/Game/Step.hs Show resolved Hide resolved
src/Swarm/Game/Entity.hs Outdated Show resolved Hide resolved
src/Swarm/Game/Step.hs Outdated Show resolved Hide resolved
@kostmo kostmo marked this pull request as ready for review August 20, 2023 07:01
@kostmo kostmo requested a review from byorgey August 20, 2023 20:12
Copy link
Member

@byorgey byorgey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

data/scenarios/Testing/1355-combustion.yaml Show resolved Hide resolved
src/Swarm/Game/Entity.hs Show resolved Hide resolved
src/Swarm/Language/Syntax.hs Show resolved Hide resolved
src/Swarm/TUI/View.hs Outdated Show resolved Hide resolved
(loc, me) <- lookInDirection d
-- Ensure there is an entity here.
e <-
me `isJustOrFail` ["There is nothing here to", verb <> "."]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we have code very similar to this in other places? Is there an opportunity to factor out some repeated code?

src/Swarm/Game/Step.hs Outdated Show resolved Hide resolved
@kostmo kostmo added the merge me Trigger the merge process of the Pull request. label Aug 21, 2023
@mergify mergify bot merged commit da6ad0c into main Aug 21, 2023
11 checks passed
@mergify mergify bot deleted the feature/combustion branch August 21, 2023 02:23
@kostmo kostmo mentioned this pull request Nov 21, 2023
@kostmo kostmo mentioned this pull request May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Trigger the merge process of the Pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fire that spreads
3 participants