Giter Site home page Giter Site logo

ultimate_tictactoe_bots's Introduction

Ultimate Tic-Tac-Toe Bots Final Project for Udacity C++ Nanodegree

Game Rules

Goal: Win 3 local boards to create a Tic-Tac-Toe (3 in a row) on the global board.

  • Each small 3 ร— 3 tic-tac-toe board is referred to as a local board, and the larger 3 ร— 3 board is referred to as the global board.
  • The game randomly selects who goes first.
  • When a player makes a move on the local board, the opposing player is "sent" to the corresponding local board on the global board.
    • Example: If "X" moves in the middle cell on an active local board, player "O" will be sent to the middle local board on the global board.
  • If a player is sent to a local board that is already finished then all unfinished baords will become active and playable.
  • Player turns and end of game status is displayed at the top of the window.

Program Code Structure

Dependencies for Running Locally

Basic Build Instructions

  1. Clone this repo.
  2. Make a build directory in the top level directory: mkdir build && cd build
  3. Compile: cmake .. && make
  4. Run it: ./Ultimate_TicTacToe.

ultimate_tictactoe_bots's People

Contributors

jsheldon3488 avatar

Watchers

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