Git Product home page Git Product logo

pokergame's Introduction

1. Check the IP of the server computer and use this in the ClientGUI class.
  (If the DealerServer and ClientGUIs are all being ran on the same machine then 127.0.0.1 can be used i.e. localhost)
2. Set the port of the server in the DealerServer.
3. Make sure the port in the ClientGUI matches.
4. Set how many players there are in the DealerServer (max 5).
5. Run DealerServer on the server machine.
6. Client side needs the ClientGUI + MusicPlayer + ChatWindow, pictures of the cards, the Sounds Folder and the Music Folder. (The Client folder already has everything needed bundled in, ready to be distributed). Remember to edit the server IP & port in the ClientGUI before sharing it.
7. Any desired music files can simply be placed in the Music folder
8. Run the client and connect to the server. The client's IP should be logged in the console of the server.
   Cards will be dealt once the set number of players have connected.

Notes - 
At least one music file must be in the Music folder as error checking for this has yet to be implemented. 
The Java JDK must be installed + environment variables set up properly on both the server and client machines. 
Server + Client side must be able to compile as well as run java classes. 

Useful tutorial - http://cs.lmu.edu/~ray/notes/javanetexamples/

pokergame's People

Contributors

alasderp avatar

Watchers

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