Skip to content

Wikignometry/bridge-buddy

Repository files navigation

Bridge Buddy

Project Description

BridgeBuddy is an application that allows users to play the game Contract Bridge with a computer opponent (a amalgamation of montecarlo and minimax algorithms) and sockets.

This project was written in 2021 as the term project for 15-112, Carnegie Mellon University's introductory programming class.

A demo of the project can be viewed from the link in the demo-video.txt file. A project proposal can be viewed in the design proposal folder

How to run

The code is run from the 'main.py'.

The 'media' folder should contain the following files:

  • button_click.wav
  • cards.png
  • image1.jpg
  • image5.jpg
  • music.mp3
  • nature.mp3
  • play_card.wav

Necessary Modules

  • pygame
  • PIL (via cmu_112_graphics)
  • tkinter (via cmu_112_graphics)

Media citation

The file "french_cards.png" is obtained from https://commons.wikimedia.org/wiki/File:Svg-cards-2.0.svg

button_click.wav is from https://creatorassets.com/a/button-sound-effects (sound 2) via https://www.online-convert.com/

play_card.wav from https://www.youtube.com/watch?v=VGMmaGY_EKE via https://youtube-converter.online/

music.mp3 is The Golden Present from Jesse Gallagher nature.mp3 is Jungle Atmosphere Afternoon both from Youtube Audio Library

sockets base from https://www.youtube.com/watch?v=YwWfKitB8aA

music in the demo video from Buccaneer’s March by Aakash Gandhi also from the Youtube Audio Library

color palatte from https://coolors.co

menu overlay images from https://commons.wikimedia.org/wiki/File:Sorting_the_Cards_(14523861902).jpg and https://commons.wikimedia.org/wiki/File:A_face-up_deck_of_cards.jpg with some edits by me

About

A virtual contract bridge simulator with oop-based minimax and sockets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages