Giter Site home page Giter Site logo

pytictactoe's Introduction

#Py Tic Tac Toe for Python 3.6 Copyright (C) 2017 Andrew James Wurster

This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it

under certain conditions as stated in the creative commons copyleft license;

#Note: The developer of Py Tic Tac Toe is not associated with Tic Tac Toe, random or the developers of Creative Commons.

Please note I, as the developer of Py Tic Tac Toe am fully aware of the bug where it asks what letter you want to be twice, so please do NOT notify me of it.

Prerequisites:

1)Python 2.7+, but version 3.6 is preferable

2)Any OS that will run Python

3)A basic knowledge of Git/Github

4)The easiest way to retrieve this game is to clone it directly from GitHub using git I would recommend using the most basic "git clone https://github.com/awurster1/PyTicTacToe.git" command without the quotes.

To play: 1)Open a python interpreter/shell

2)Execute the command "python setup.py" without quotes OR if python is installed, meaning not a shell, simply double click on setup.py

3)The program then will ask you if you want to be "X or O", and all you have to do is type "X" or "O" without the quotes.

4)Once again, I'm aware of the bug where it asks twice when you first open the program.

5)To select the location of where to put your X or O, use the 10-key on your keyboard.

Understanding file structure:

AI.py contains the code for the AI that you will play against

players.py contains the code that the player needs to be able to play the game properly

setup.py contains the game logic and also draws the physical way the board looks.

init.py initializes the game.

LICENSE contains the GNU GENERAL PUBLIC LICENSE version 3.0

pytictactoe's People

Contributors

awurster1 avatar

Watchers

 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.