Showing posts with label side-project. Show all posts
Showing posts with label side-project. Show all posts

5 September 2020

How to make a tic-tac-toe game using Javascript


In this tutorial, you'll be learning on how to make your own tic-tac-toe game using Javascript. In a traditional tic-tac-toe game, there will be two-player that in turn try to get 3 consecutive cells with their assigned icon (usually a circle, O and times, X) in a 3x3 grid. This is a simplified version of my tic-tac-toe game, where there you're up against a bot created with the minimax algorithm. While in this version, you'll need to ask some of your friends or family members to play with you or you could just play it alone. You can find my tic-tac-toe game through this Github link. All the code for this tutorial could be found here and if you want to play the game, you could visit this Github page. Now let's get started with the things that our game will need. 

10 August 2020

How did I created a JSON file data filterer

Welcome fellow learners, in this blog post, I'll be writing about how I created a JSON file data filterer and how you code one yourself. The program lets you filter out the unwanted value from a JSON file and generate a new file for it. This program could work mostly thanks to the recursive functions I used. You can access the source code through this Github link. This blog post will be quite long as this blog post is the documentation for it.