Coder Social home page Coder Social logo

backgammon's Introduction

Backgammon

Team Members -: Nitin Chandrol (120050035) Rohit Kumar (120050028)

Run the source code file project.rkt.

For a particular value of dice pair, firstly the move corresponding to maximum dice value is played and then minimum.

Click on rule for basic rules. Game is about 2 major events rolling dices and changing the positions of pegs. For player,there is roll dice button to roll dice.Dices are shown on right side. For changing the position of pegs by player ,player has to choose from arrow showing pegs (allowed moves ) by clicking on top of arrow. For computer ,just a click will roll dice and another click will show his move.Dice are shown on left side. Player plays with white pegs and moves clockwise. Computer plays with pink pegs and moves counter-clockwise. We used mouse-button-press event .We have shown sufficient on-screen text for further instruction.

Files used- project.rkt - Main source code sound.ss and 3 .wav file -for playing background sound. other jpg and png file -for importing image on canvas.

backgammon's People

Contributors

nitinchandrol avatar

Watchers

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