Skip to content

A simple tic-tac-toe game using JavaScript.

Notifications You must be signed in to change notification settings

ambar12345/tictactoe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe: Try it!

Tic-Tac-Toe Gameplay

This was an exercise in project management in which I organized a small group of women-only software engineers to create a Tic-Tac-Toe game with JavaScript. This project allowed the group to practice setting up and closing issues, forking, and making pull/merge requests. We held daily standups and weekly meetings to collaborate on the JavaScript game logic. As the project manager, my role was to create simple, granular issues so that even novice engineers would have opportunities to contribute, to manage pull/merge requests from contributors, and resolve code conflicts. I also documented the JavaScript code extensively so that that even novices in JavaScript can follow the flow of the game's logic.

How It's Made:

Tech used:

The group used HTML, CSS, and JavaScript in combination with the GitHub repository. We used Discord for daily standups, and Google Meet with screen-sharing for JavaScript collaboration. At the end of the project, the repository was hosted through Netlify.

Optimizations

The primary optimization in this project was to deconstruction the eight possible win conditions into a 'for...of' statement that simplified the conditionals required to determine a winner by looping through the iterable objects (the winCondition arrays). The alternative would have been to create numerous 'if/else' statements for each of the eight win conditions.

Lessons Learned:

My biggest takeaway from this project was the use of VSCode tools to resolve conflicts and merge code when multiple contributors were making changes to the same code. I was able to compare revisions and determine which contributions were most appropriate for the success of the project. The thing I most enjoyed about the project was the collaborative aspect of hearing from the other engineers why they made specific choices.

About

A simple tic-tac-toe game using JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.6%
  • CSS 31.2%
  • HTML 15.2%