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.
-
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.
-
Game Instruction, as is the very important to run any game to have a clear instructions for the palyer.
-
Clearly organized board for the player to choose his position.
-
Playing against a friend, the friend can choose a position between 1-9 that has not yet been chosen.
-
The player continues to choose the positions he wants on board until someone wins or draws.
-
The winner is X!
-
The winner is O!
-
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.
- Passed the code through a PEP8 linter and confirmed there are no problems
- Tested in my local terminal and the Conde Institute Heroku terminal
- PEP8
- No erros were returned from PEP8online.com
- I'm having problems with spacing. I fixed this by testing in PEP8 and reading about it in Flake8 Rules.
- No Bugs Remained.
-
Sign up/ login to Heroku.
-
Set the buildbacks to Python and NodeJs.
-
Link Heroku app to repositry.
-
click Deploy.
- Heroku, used for Deployment.
- GitHub, used for project control.
- Gitpod, used for making the project.
- Code Institute for all the support.