Giter VIP home page Giter VIP logo

third-project-ci-1's Introduction

Tic_Tac_Toe

Welcome to my page... Have fun playing fun game. This is a one page game designed using the Python language.

Tic Tac Toe is one of my favorite games, why I wanted to build it in one of the more popular languages.

View the game on Heroku

Responsive

How to play

  • The first thing to do is read the instructions and then write "yes" in front of the question "Do you want to play?"

  • Ask your opponent to play first. The first player will use "X" and the second will use "O". Each one must try to form a line with its respective symbol on the squares on the board.

  • Make your move (or ask your opponent to play). After the first step, the opponent enters the next position which must be different from your opponent's position. If you enter the same position, you pass the turn to your opponent. He can try to prevent the opponent from closing a line on the board or focus on his own strategy. The ideal is to do both at the same time.

  • Alternate moves with your opponent until one of you wins (or draws). The first person to position "X" or "O" in a row โ€“ horizontally, vertically or diagonally โ€“ wins. However, if both players are skilled, the chances of a tie are much higher.

  • Keep training. Contrary to what many think, tic-tac-toe is not just about luck. There are several strategies that optimize player skills. Keep training to learn how to use some of them and win (almost) every match.

Features

Existing Features

  • Game Instruction, as is the very important to run any game to have a clear instructions for the palyer. Instruction

  • Clearly organized board for the player to choose his position. board

  • Playing against a friend, the friend can choose a position between 1-9 that has not yet been chosen. position

  • The player continues to choose the positions he wants on board until someone wins or draws.

  • The winner is X!

    The winner is X!

  • The winner is O!

    The winner is O!

  • It is a tie!

    It is a tie!

  • If there is a winner or Tie! , the game will end , and the player needs to run the game again for keep playing.

Testing

I have manually tested this project by doing the following:

  • Passed the code through a PEP8 linter and confirmed there are no problems
  • Tested in my local terminal and the Conde Institute Heroku terminal

Validator Testing

  • PEP8
    • No erros were returned from PEP8online.com

PEP8

Bugs

  • I'm having problems with spacing. I fixed this by testing in PEP8 and reading about it in Flake8 Rules.

Remaining Bugs

  • No Bugs Remained.

Deployment

  • Sign up/ login to Heroku.

  • Set the buildbacks to Python and NodeJs.

  • Link Heroku app to repositry.

  • click Deploy.

Technologies

  • Heroku, used for Deployment.
  • GitHub, used for project control.
  • Gitpod, used for making the project.

Credits

Acknowledgements

  • Code Institute for all the support.

third-project-ci-1's People

Contributors

cacpaes 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.