Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/marlonmontenegro/project_tic_tac_toe_ruby


https://github.com/marlonmontenegro/project_tic_tac_toe_ruby

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Ruby Tic Tac Toe Game

Welcome to the Ruby Tic Tac Toe game! This project implements a text-based version of the classic Tic Tac Toe game. Players take turns marking X or O on a 3x3 grid, aiming to get three of their symbols in a row, column, or diagonal.

## Game Overview

This implementation of Tic Tac Toe allows two players to take turns playing on the same computer. The game displays the board after each move and checks for a winner or a tie. Players can make their moves by entering the row and column numbers where they want to place their symbol.

## Features

- **Text-Based:** The game is played in the terminal/console with text-based representation of the game board.
- **Two Players:** Allows two players to take turns playing against each other.
- **Win Condition:** The game detects a win when a player has three symbols in a row, column, or diagonal.
- **Tie Condition:** If the board is filled without a win, the game declares a tie.
- **Player Input:** Players input their moves by specifying row and column numbers.
- **Simple User Interface:** Displays the current game board and guides players through the game steps.