Giter Site home page Giter Site logo

cisc204_project's Introduction

CISC/CMPE 204 Modelling Project: You Just Got Yaniv'd (Group 3)

Summary

The Game Yaniv: https://en.wikipedia.org/wiki/Yaniv_(card_game)

The game is played with a standard deck of 52 cards. Each card represents a digit from 1-13, where an ace would represent 1 and a king would represent 13. Each player of the game is dealt 5 cards to begin. The remaining undealt cards are placed in a pile face down. To begin the game a single card is faced upwards creating a new pile. The goal of the game is to be the first person with cards that sum to 7 or less. To do this players on their turn mush replace their cards. Each players hand can be split into one of 2 groups. 1) cards in a sequence containing the same suit, or 2) same card in different suits. A single card or a group of cards satisfying these requirments can be replaced with either the existing known flipped card already present, or a new card can be taken from the deck. To reiterate, the user has two choices to replace a single card or group of cards (as previously outlined). Note that the player will only substitute a group for one card back, so it is possible to have a hand less than 5.

A single scenerio of a hand given the players perspective. This includes the 5 or less cards their values and the cards that have been placed upwards. This frame of the game can be represented by a decision tree and logical arguments.

A more in-depth description of rules, propositions, and constraints is in the file info.txt

To run things

Building

docker build -t cisc204 .

Running

docker run -it -v "$(pwd):/PROJECT" cisc204

Structure

General or provided

  • test.py: Run this file to confirm that your submission has everything required. This essentially just means it will check for the right files and sufficient theory size.

  • documents: Contains folders for both of your draft and final submissions. README.md files are included in both.

    • IMPORTANT: You can find the final report in the documents/final/ folder.

Custom code

  • run.py: This is where the whole model is being built and solved

cisc204_project's People

Contributors

ajsib avatar oliverdantzer avatar figglewiggle avatar will24m 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.