GithubHelp home page GithubHelp logo

chatserver-dod's Introduction

ChatServer-DoD

Implementation of a Chat Server in Java using threads.

Main functionalities:

  • real time messaging between users
  • very simplistic Bot which broadcasts a sample message to all users
  • users can locally play Dungeons of Doom, a turn based command line game

How to run the server:

  1. After compiling all files, run "java ChatServer" to start the server.

    Note that the default port of the server is 14001 and the IP address is "localhost".

    If you want to specify a different port, use -ccp as a command line argument.

  2. To connect as a user, run "java ChatClient"

  3. To connect the bot to the chat, run "java ChatBot"

  4. Note that for both the client and the bot, the default IP address used when connecting to the server

    is "localhost" and the port is 14001. To change the IP address, use -cca as a command line argument and

    to change the port, use -ccp.

In chat commands:

  • type "hey Quacky" to recieve the sample message from the bot
  • type "/disconnect" to disconnect from the server
  • type "/play DoD" to play the game locally

To close the server, type "EXIT" in the server's terminal.

To see the rules of Dungeons of Doom, read the DoD_README.txt file

chatserver-dod's People

Contributors

pap36 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.