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.
- Host: GitHub
- URL: https://github.com/neguindev/tic-tac-toe-canvas
- Owner: NeguinDev
- Created: 2022-06-09T06:07:53.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-29T04:40:09.000Z (almost 3 years ago)
- Last Synced: 2025-02-11T10:46:48.700Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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