Skip to content

This is a simple Tic-Tac-Toe game that uses factory functions and module patterns. Based off the assignment from The Odin Project.

License

Notifications You must be signed in to change notification settings

flashbrew325/odin-project-tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

This is a simple Tic-Tac-Toe game that uses factory functions and module patterns.

Preview

Homepage

Table of Contents

Usage

Simply head to https://naduhz.github.io/odin-project-tictactoe/ to begin using the app! Alternatively, if you wish to host the project locally and make edits, you may clone the repository by doing:

cd your-directory-name
git clone https://github.com/naduhz/odin-project-tictactoe.git

and launching index.html.

(Back to top)

Learning Points

There were 2 main takeaways from this project:

  1. Factory Functions
  2. Module Patterns

I learnt how to use factory functions as an alternative to object constructors, which can be useful as it allows us to export specific methods or properties to be "inherited" by another object. In addition, the module pattern comes in handy as well as it immediately invokes the factory function, causing it to be an instance of itself. The experience building this application was unlike the rest, as I was bogged down by other commitments, and hence a lot of the learning experience was diluted over several days.

(Back to top)

Contribute

Please feel free to make any suggestions, edits or raise issues. Forks and pull requests are always welcome. I am not likely to maintain the code from here on as I have to move on to other projects.

(Back to top)

Adding new features or fixing bugs

As mentioned above, I am not likely to maintain the code and as such, if you would like to build on this project, you could always fork or clone this repository.

(Back to top)

Feedback

As this was done within a month of learning Javascript, the code is written in a very amateurish manner. Criticism is always appreciated with regard to how I can better write or refactor my code.

(Back to top)

License

Project License can be found here.

(Back to top)

Footer

I would like to thank The Odin Project for providing the inspiration for this project.

(Back to top)

About

This is a simple Tic-Tac-Toe game that uses factory functions and module patterns. Based off the assignment from The Odin Project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published