Code Monkey home page Code Monkey logo

ultimate-tic-tac-toe's Introduction

Ultimate-Tic-Tac-Toe

A GUI made with JavaFX to play Ultimate Tic Tac Toe using a Model-View-Controller Design Pattern

Prerequisites

Must have JRE 1.8.0 to run the .exe

Rules

The larger 3 x 3 tic tac toe board is reffered to as the global board. The global board contains 9 local 3 x 3 tic tac toe boards.

Initially, the first player can move anywhere. Whichever square he plays at in the local board dictates where the next player is allowed to move on the global board. That is, if the first player plays at the bottom right square in a local board, the second player is limited to placing a move in the bottom right of the global board. This pattern follows. Valid local boards are highlighted to indicate where the player is allowed to move.

Player 1 can initially move anywhere, plays at the bottom right square in a local board. Player 2 is limited to placing a move in the bottom right of the global board.

Player 2 plays at the top middle in the local board. Player 1 is limited to placing a move in top middle of the global board

If the board a player gets sent to isn't valid then the player can move to any valid location.

The objective is to win 3 local boards in a row. The game ends in a tie if nobody wins the global board and there are no valid moves left.

Built With

  • Maven - Dependency Management
    • launch4j - Cross-platform Java executable wrapper
  • JavaFX - GUI Library for Java

ultimate-tic-tac-toe's People

Contributors

bebeal avatar

Stargazers

 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.