Skip to content

jasoncht1023/jpoker24-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed JPoker 24 Game

Course work from HKU COMP3358 Distributed and Parallel Computing

Pre-requisites

OS requirement: Ubuntu
Java version: 8
Recommended to use the Eclipse IDE

Setup

  1. Remote Method Invocation (RMI)
    Run ~$ rmiregistry &
  2. MySQL JDBC connector
    Add to the classpath: mysql-connecter-j-x.x.x.jar
  3. Glassfish5 for Java Messaging Service
    Add to the classpath: /glassfish/lib/gf-client.jar
  4. Run sql-script/tables-gen.sql to generate the required MySQL tables

Required JMS Resource:

  1. Connection Factory: jms/JPoker24ConnectionFactory
  2. Queue: jms/JPoker24GamePlayerQueue
  3. Queue: jms/JPoker24GameAnswerQueue
  4. Topic: jms/JPoker24GameTopic

Game Running

Run the serverJPoker24GameServer.java, then run multiple clients JPoker24Game.java
Game screenshot: jpoker24game_screenshot

About

Distributed multiplayer desktop 24-puzzle game implemented in Java

Topics

Resources

Stars

Watchers

Forks

Languages