DEV Community

Ansell Maximilian
Ansell Maximilian Subscriber

Posted on

Play Tic-Tac-Toe on Github Issues

What I built

I built a GitHub Action that allows you to play games of tic-tac-toe against a computer in the comments section of an issue in your repository. It's completely impractical, but this was the first Github Action that I created from scratch, and the experience taught me a lot and gave me a good base for the next time I have to create a Github Action.

Category Submission:

Wacky Wildcards

App Link

https://github.com/marketplace/actions/tic-taction-toe

Screenshots

Image description

Image description

Description

This Action allows you to start a game of tic-tac-toe in the comments section of an issue in your repository. You will be playing against a computer and normal rules apply.

Start by making a comment that says "play tic-taction-toe"

After the game board replies, type "tic-taction toe >>number<<" where number is the cell number in which you want to make a move.

Link to Source Code

https://github.com/AnsellMaximilian/tic-taction-toe

Permissive License

MIT

Background (What made you decide to build this particular app? What inspired you?)

I wanted to join the contest and wanted to build something simple. I hadn't built an Action from scratch before and just wanted to learn and make something ridiculous.

How I built it (How did you utilize GitHub Actions or GitHub Codespaces? Did you learn something new along the way? Pick up a new skill?)

I built this using Github Actions. And I learned a lot of things to know about Github Actions, which made the entire process worth it.

Additional Resources/Info

https://playtictactoe.org/

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up