Coder Social home page Coder Social logo

oop_tic_tac_toe's Introduction

OOP TIC TAC TOE

Setup the first milestone for the TIC TAP TOE project

Built With

  • Ruby

Requirements

-run bundle install

Instructions

How the game starts

  • The very first thing to do is to type this command main.rb this will start the game

  • First players will be asked to provide the name, it cannot have an empty space and it can be a combination of numbers and letters screenshot

  • The first players will be asked to choose between X and O

  • Second Player will be asked for the name, same rules apply no empty characters and it can combination between lettesr and numbers - The Second players won't be asked to choose between X and O because they will be assigned the next value that the first player picked - Once the game starts the players will be asked to choose a number from the grid between 1 to 9 or quite the game by pressing the letter q.

    screenshot

  • If a players chooses a number from the grid that has already been chosen by the opposite player then you will get a message saying " spot has bee already selected please try again".

  • In order to win the game, a player must place three of their marks in a horizontal, vertical, or diagonal row. screenshot

-The game will end in a draw if no one has three of their marks in a horizontal, vertical or diagonal row.

screenshot

Running Tests

  • Open the console
  • Navigate to the Tic-Tac-Toe project
  • Run gem install rspec
  • Run rspec
  • The spec file is in the spec folder

Authors

๐Ÿ‘ค Cosmel Villalobos

๐Ÿ‘ค Kender Bolivar

๐Ÿ‘ค Mir Rawshan Ali

๐Ÿ‘ค Will Nyamunokora

Show your support

Give a โญ๏ธ if you like this project!

oop_tic_tac_toe's People

Contributors

bigwizzo avatar cvilla714 avatar kenderb avatar sumon0002001 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kenderb

oop_tic_tac_toe's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.