https://github.com/epictetusz1/tic-tac-toe
A project from The Odin Project. With the goal of learning Factory Functions and The Module Pattern
https://github.com/epictetusz1/tic-tac-toe
factory-pattern javascript-game learning-by-doing module-pattern theodinproject tic-tac-toe
Last synced: 11 days ago
JSON representation
A project from The Odin Project. With the goal of learning Factory Functions and The Module Pattern
- Host: GitHub
- URL: https://github.com/epictetusz1/tic-tac-toe
- Owner: EpictetusZ1
- Created: 2021-09-03T19:10:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-08T18:28:32.000Z (over 3 years ago)
- Last Synced: 2025-02-16T15:15:09.304Z (3 months ago)
- Topics: factory-pattern, javascript-game, learning-by-doing, module-pattern, theodinproject, tic-tac-toe
- Language: JavaScript
- Homepage: https://epictetusz1.github.io/tic-tac-toe/
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic Tac Toe
A simple JavaScript game app to learn OOP, The Factory Function and Module Patterns
Assignment from [The Odin Project](https://www.theodinproject.com/)
### Things I Learned:
- The Factory Function Pattern
- The Module Pattern
- Closures
- Fine-tuned my knowledge on Scope
- Using ```"use strict";``` in JavaScript
- Private variables and functions
- Namespacing### Functionality:
- Checks for win state or draw state
- Updates Player Name dynamically
- Ability to play multiple games and keep / display running total of won games per player