GithubHelp home page GithubHelp logo

fractoeai's Introduction

Fractal Tic-Tac-Toe
-------------------
Created by: Denver Woodward

to run, execute the file fractoe.py

syntax:

fractoe.py [-w] [-f <filename>]
fractoe.py [-l] [-f <filename>] [-h] [-s <show_depth>] ( [-p <num_players>] | [-t <test_type>] )

flag descriptions:

-w or --watch
	used to watch a game that was previously played. if the -f flag is not specified, the user will be prompted to give a file containing a game.
	
-f or --file
	used to specify the game file to either load from or save to. requires a <filename> to come directly after the flag.
	
-h or --history
	used to save the entire game to a file, not just the most recent board position.
	
-p or --players
	used to set the number of human players for the game, requires a <num_players> in {0,1,2} to come directly after the flag.
	
-t or --test
	used for testing purposed. <test_type> currently takes one of three values:
		"putingambit" is being used to test the different AI's against each other
		"draw1" is being used to test for 81 move draws
		"draw2" is an alternative way to test for long games.
-l or --load
	used to tell the game to load the initial position from the input file.
	
-s or --show
	used to tell the AI to print out its analysis of the first <show_depth> levels of the tree for each move.
	

NOTE:
The AI is currently in development and is quite possibly still buggy.

fractoeai's People

Contributors

blamedcloud avatar

Watchers

James Cloos avatar  avatar Daniel Gratz 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.