My Workflow
Sokoban Action
Hi everyone! This is the first time I'm making a GitHub Action and this is also my first post here!
When I came to know about the GitHub Actions Hackathon, I had no idea what an Action was or how it worked. As I was scrolling through the comments of the Hackathon Announcement post, I came across this:
So, I visited the link and found this amazing project!
Tim's Community Chess Tournament
Game is in progress. This is open to ANYONE to play the next move. That's the point.
BLACK: It's your move... to choose where to move..
Ask a friend to take the next move: Share on Twitter...
How this works
When you click a link, it opens a GitHub Issue with the required pre-populated text. Just push "Create New Issue". That will trigger a GitHub Actions workflow that'll update my GitHub Profile with the new state of the board.
Notice a problem?
Raise an issue, and include the text cc @timburgan.
Last few moves, this game
Move | Who |
---|---|
A7 to C7 | @JRetza |
H8 to H2 | @yoursunny |
I was surprised by the capabilities of GitHub Actions. So, I went through the docs and took the awesome courses at GitHub Learning Lab to get a good grip on GitHub Actions.
Finally, I decided upon making my own game using GitHub Actions. I implemented Sokoban, which is a classic box-pushing game.
The game takes place right in the README.md. It has a table representing the game board, furnished with the game items, like this:
Your character is the Octocat. To play the game, you are supposed to push each box to a goal using the given controls.
When you click on the controls, it opens a new issue with a text to trigger the workflow. After you submit the issue, the action starts running and updates the board and replies to your issue like this:
Now push! 😃
Submission Category:
Wacky Wildcards
Yaml File or Link to Code
RaisinTen
/
sokoban-action
Sokoban game using GitHub Actions 🤖
Sokoban Action
⬆️
⬇️
➡️
⬅️
↩️
Instructions
Sokoban is a game where you are supposed to push each box to a goal.
Items
Working
GitHub Actions
This game is made using GitHub Actions! When you click on the controls, it opens a new issue with a text to trigger the workflow. After you submit the issue, the action starts running and updates the board and replies to your issue.
To know more about this, check out the blog on !
Now push!
Hope you enjoyed playing this game. 😊
Thank you for your time. 🙏
I'm looking forward to seeing what the community comes up with for this contest across all categories, but especially for Wacky Wildcards. You can get pretty dang creative here. I'm a fan of this Profile Readme where you can actually play chess (powered by GitHub Actions).