Skip to content

mortolian/code-js-tictactoe

Repository files navigation

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.