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

Update Defend-Your-House!.js #2740

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

GabriGua
Copy link
Contributor

@GabriGua GabriGua commented Dec 19, 2024

Fixed and optimized the code in order to make it playable on the Sprig Device

Your checklist for this pull request

Author name

Gabbs

About your game

What is your game about?

In this game you have to protect your house from the meteorogical event placing the blocks around the house. If the house get hit then you lose. You must protect your house as long as you can. In this game every block counts! So... don't waste it! This game is a mix of strategy and luck. This game was Updated! Go watch the updates!

How do you play your game?

It's pretty simple!
Click W-A-S-D to move around the cursor.
Click L to place a block in the white area, you can also reinforce a block placing one above another.
Click J to start the events one by one.
Click J once you lost to restart the scene.
Then Click K to restart playing or during the events to restart placing blocks if you haven't placed them all!
Survive!!!

Code

Check off the items that are true.

  • The game was made using the Sprig editor.
  • The game is placed in the in the /games directory.
  • The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
  • The game runs without errors.
  • The name of the file/game contains only alphanumeric characters, -s, or _s.
  • The game name is not the same as the others from gallery

Image (If an image is used)

Thanks for your PR!

Fixed and optimized the code in order to make it playable on the Sprig Device
Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sprig ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 8:35pm

Copy link

You can play your game at Play Here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant