Git Product home page Git Product logo

tic-tact-toe's Introduction

Project Name: TicTacToe

IMPLEMENTATION OF THE CLASSIC TIC TAC TOE Game in RUBY

    #######             #######               #######
        #                   #                     #
        #                   #                     #
        #    ##   ####      #    ####   ####      #     ####   ###
        #     #  #   #      #       #  #   #      #    ##  ## #   #
        #     #  #          #    ####  #          #    #    # #####
        #     #  ##         #    #  #  ##         #    ##  ## #
       ###   ###  ####     ###   #####  ####     ###    ####   ####

GAMEPLAY - INTRODUCTION

screenshot

GAMEPLAY - WINNER

screenshot

RSPEC

screenshot

DESCRIPTION & HOW TO START PLAYING

Start cmd on windows / terminal on mac or linux

  • Type below commands to launch the game
    • Start a new Terminal [CMD from Run/Search on Windows]
    • Go to the game directory: cd [tic-tac-toe]
    • Type: $user-1@[...] cd [bin] & Enter [.\main.rb]
    • Hit Enter/Return & continue...
  • main.rb - the entry point file is a command line executable

GAME PLAY - Instructions

  • start cmd on windows / terminal on mac or linux
  • type ./main.rb & enter
  • The first player enters a name and selects either 'X' or 'O'
  • The second player is automatically assigned the other marker after they enter a name
  • Each player has to select an available position on the display grid for their marker.
  • Enter the number visible on the grid to place your marker.
  • Once a number is selected hit Enter & X / O will appear on the board
  • Players take turns selecting their preferred positions to make a winning move
  • Winning Combinations Include: Player should have 3 markers in ONE (1) row, column or diagonal.
  • The game ends in a tie if both players can not win.

Skills Revived & Learned:

  • Versioning & best coding practices, Git Flow.
  • RUBY Datastructures, features etc.
  • Linter - install & fix errors
  • Collaborative learning, being patient, helping each other succeed.
  • Self Monitoring & reliable project deliverables on due time, being focused, accountable.
  • Ability to work independently and ask for help after due self research when needed.

Learning Goals:

  • Version Control, Git Flow, RSpec Tests
  • Application of RUBY Syntax & Programming elements.
  • User I/P & O/P via terminal / command line validation and control

Authors

๐Ÿง‘โ€๐Ÿ’ป Shabbir

๐Ÿง‘โ€๐Ÿ’ป Ubong George

๐Ÿง‘โ€๐Ÿ’ป Sunil Kumar

Show your support

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

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/smy5152/tic-tact-toe. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the TicTacToe project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

tic-tact-toe's People

Contributors

smy5152 avatar george-swift avatar sunilkumardevalla avatar

Stargazers

German Renato Cobian avatar

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.