Git Product home page Git Product logo

grs-cs-611-midterm-project's Introduction

Modified Black Jack Game Infrastructure

  • Classes:
    1. Cell: The board consists of a matrix of Cells. A Cell is a class used to store any object value.
    2. Player: Houses player information with private variables like name, id, score, past moves.
    3. Score: Maintains scores of the players. Statistics include the number of wins, loses, and draws. Can be extended to add more statistics.
    4. Team: Class to hold team information, list of players with manipulation functions.
  • Abstract Classes:
    1. Board: Elements of the board like board dimensions, board layout, count of players, game pieces. Functions to set board pieces, game moves, resetting the board, printing the board on the terminal.
    2. Engine: The class which houses the main game loop. Used to create the game board, add players, teams, while keeping track of the overall scores.
    3. Piece: Abstract class to hold functions related to getting internal and display value for each piece (game piece).
  • Interfaces:
    1. Move: Interface to represent a player’s move. For example placing a piece in tic tac toe, or a castle move in chess.
    2. Turn: Interface to hold functions for handling turn based games.

Built on base code from Reusable-Board-Game-Structure

Team Members:

grs-cs-611-midterm-project's People

Contributors

prithvirajkhelkar avatar showndarya 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.