mortolian / code-js-tictactoe

This is a code challenge in javascript, to create a simple Tic Tac Toe game.

Home Page:https://mortolian.github.io/code-js-tictactoe/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TicTacToe Game

This is a simple HTML, CSS, ECMA/Vite based TicTacToe game.
The game is created as a code challenge.

Demo

Github Page Demo Site

Setup

Clone The Repo

mkdir code-js-tictactoe
cd code-js-tictactoe
git clone https://github.com/mortolian/code-js-tictactoe.git .

Install Yarn Node Package Manager Globally

npm install --global yarn

For more installation information, Yarn Install Manual.

Run Directly On Host

NPM

npm install
npm run dev

YARN

yarn
yarn dev

Run Tests

Eslint

yarn lint

End-To-End Tests

yarn test:playwright

or

npx playwright test

Unit Tests

yarn test:vitest
yarn test:vitest-coverage

Contributions And Feedback

The game is made for me to learn, therefor I am not adding in and contributions, but I do welcome any feedback through GitHub.

References

License

The game is the property of Mortolian (Gideon Schoonbee). You are free to copy, modify and use the game as long as you give me some credit for it.

About

This is a code challenge in javascript, to create a simple Tic Tac Toe game.

https://mortolian.github.io/code-js-tictactoe/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 59.8%Language:CSS 27.3%Language:HTML 12.3%Language:TypeScript 0.5%