Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gwyrddglas/tictactoe-ai

TicTacToe: A Classic Naughts and Crosses Experience, Reimagined in Lua. Featuring an intuitive AI opponent
https://github.com/gwyrddglas/tictactoe-ai

lleuad-studios love2d love2d-game lua tic-tac-toe tictactoe tictactoe-game

Last synced: 20 days ago
JSON representation

TicTacToe: A Classic Naughts and Crosses Experience, Reimagined in Lua. Featuring an intuitive AI opponent

Awesome Lists containing this project

README

        

# Tic-Tac-Toe Game (AI)

## Description
This is a simple implementation of the classic game Tic-Tac-Toe, developed in Lua using the LOVE2D framework. In this build you will play against an "AI".

## Features
- Basic Tic-Tac-Toe gameplay
- Alternating turns between two players
- Win condition checks for rows, columns, and diagonals
- Simple and intuitive UI

## Requirements
To run this game, you need to have LOVE2D installed on your system. LOVE2D is a framework for making 2D games in Lua. You can download it from [here](https://love2d.org/).

## Installation
Clone this repository or download the source code. Navigate to the project directory and run the game with LOVE2D:

## How to Play
- Run the game.
- The game starts with player 'O' and alternates to player 'X'.
- Click on an empty cell to place your symbol.
- The first player to align three of their symbols in a row, column, or diagonal wins.
- The game resets after a win or a tie.


[![love-JBLYTVJPc-T.png](https://i.postimg.cc/3x3s9ttg/love-JBLYTVJPc-T.png)](https://postimg.cc/GHSgmxw2)