eassy-tictactoe

Tic Tac Toe game api

Usage no npm install needed!

<script type="module">
  import eassyTictactoe from 'https://cdn.skypack.dev/eassy-tictactoe';
</script>

README

Tic-Tac-Toe

Single Player mode -> coming soon

Usage

$ npm install tictactoe-easy --save

or

$ yarn add tictactoe-easy
const { multiplayer } = require('tictactoe-easy');
const player1 = [1]; // these are moves made by player 1
const player2 = [2]; // these are moves made by player 2
multiplayer(player1, player2);