Skip to content

A Tic-tac-toe game created in Vanilla JavaScript using Factory functions and the Module pattern to apply single responsibility and separation of concerns principles.

Notifications You must be signed in to change notification settings

davidagredano/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Tic-Tac-Toe — Live Demo

tic-tac-toe-game-preview

A Tic-tac-toe game created in Vanilla JavaScript.

Learning goal

Use Factory functions and the Module pattern to create a good architecture that applies the single responsibility and separation of concerns principles.

Components:

  1. A game controller module in charge of the game logic
  2. A player factory in charge of the player objects creation
  3. A board module with all the game board’s logic
  4. A display controller module that handles the display/DOM logic

Contact Me

Hello! 👋 I'm David, the creator of this project. If you have any questions, suggestions, or just want to chat about web development or anything else related to this project, feel free to reach out to me.

My email is [email protected].

Looking forward to hearing from you!

About

A Tic-tac-toe game created in Vanilla JavaScript using Factory functions and the Module pattern to apply single responsibility and separation of concerns principles.

Resources

Stars

Watchers

Forks