Code Monkey home page Code Monkey logo

comp472---ai's Introduction

COMP472---AI

Game Intro

The game called is called "X-Rudder". It is a two-player, adversarial game. Each player can place up to 15 tokens on the 12x10 board, and each have 15 moves after placing all tokens.

You cannot place any piece off the board. You cannot move a piece onto another piece.

The goal is to form an "X" to win the game. The opponent can block this win by "crossing" the X horizontally.

How to play

A player can make the following inputs when promopted. A letter followed by a number represents the coordinate of a space where a token might be placed. E.g. A1, b0, H7, f2, D3

To place a piece: any coordinate where there is not already a token

To move a piece: the coordinate of an existing piece, then the coordinate of a new piece

After entering a move, you have to press the "Enter" key. The game will continue if the input was valid.

comp472---ai's People

Contributors

elie-kh avatar kasthurie avatar wuwentang avatar

Watchers

 avatar  avatar

comp472---ai's Issues

UI?

Check possibilities to implement a UI.

Print board

Function to print board after move is done, but before checking for win.

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.