-
Notifications
You must be signed in to change notification settings - Fork 841
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
Chess_Puzzle (Knight) #1781
Chess_Puzzle (Knight) #1781
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add logic to restrict the movement of the knight to what is allowable by the rules of chess?
OK I made the changes. |
Changed movement system so that you can only move in a way that complies with rules and player restarts level if they move onto a box.
Congratz! Neat game. If you're a teenager, and you haven't already received one, please fill out this form to receive your very own Sprig device! Also, feel free to join Hack Club's Slack, and share you creation in the #sprig channel! |
Author : Silver Canvas
About:
The game is a puzzle game based off the chess knight. You must move it around the board, not hit obstacles, and make it to the goal (a pink and purple box).
How to Play:
Use WASD to move the cursor, then use "J" to move the knight where the cursor is. Move the knight in the same way you would in chess, and make your way to the goal (the pink and purple box).
Code
Check off the items that are true.
/games
directory.-
s, or_
s.