An open API service indexing awesome lists of open source software.

https://github.com/neguindev/tic-tac-toe-canvas

Tic-Tac-Toe Canvas is a Node.js application that uses the Canvas API to draw a Tic-Tac-Toe grid and place 'X' and 'O' images based on the player's moves.
https://github.com/neguindev/tic-tac-toe-canvas

Last synced: over 1 year ago
JSON representation

Tic-Tac-Toe Canvas is a Node.js application that uses the Canvas API to draw a Tic-Tac-Toe grid and place 'X' and 'O' images based on the player's moves.

Awesome Lists containing this project

README

          

# Tic-Tac-Toe Canvas

## Description

Tic-Tac-Toe Canvas is a Node.js application that uses the Canvas API to draw a Tic-Tac-Toe grid and place 'X' and 'O' images based on the player's moves.

## Requirements

- Node.js
- Canvas API

## Installation

Clone the repository:

```bash
git clone https://github.com/NeguinDev/tic-tac-toe-canvas.git
```

Install the dependencies:

```bash
npm install
```

## Usage

Run the script:

```bash
node index.js
```

## Features

- Draws a Tic-Tac-Toe grid using Canvas API.
- Places 'X' and 'O' images based on player moves.
- Saves the final board state as a PNG image.

## Contribution

Feel free to contribute to the project. Open a PR or an issue for discussions.

## License

ISC