Skip to content

g78101/BridgeApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The FancyBridge is a game of poker.

  1. It add two trump (Small, Middle) from bridge.
    The trunp:
      Small < Middle < Club < Diamond < Heart < Spades < No Trump

  2. I add three players mode.
      Each person bids respectively. Declarer can choose teammate ( other player or Space )

How to play

Server Side:

  • From Container:

    1. docker pull g78101/bridge-server
    2. docker run --name bridge-server -p 3344:3344 -p 8888:8888 -d g78101/bridge-server
  • From Code:

    1. in terminal: cd {Server}
    2. in terminal: python Server.py
      ( sample of observer html at info/ )

iOS Side:

  1. open FancyBridge.xcodeproj
  2. in xcode: run
    ( change ServerURL at StreamManager.swif )

Android Side:

  1. using Android Studio open Android/
  2. in Android Studio: run
    ( change ServerURL at StreamManager.java )

P.S. The game will begin when four players connected or three players clicked Three player mode

Game Screenshots

The Screenshots of WaitState alt text

The Screenshots of CallState alt text

The Screenshots PlayState alt text

Reference