Skip to content

carlydekock/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lab-14 ROSHAMBO

Description

  • Create a new application using real-time events

  • Your team will be responsible for planning, executing, and presenting an application that showcases an event driven architecture

  • Your application must employ the following programming concepts:

    1. A “hub” server that moderates all events

    2. Multiple “clients” that connect to the hub which can both publish and subscribe to events

    3. Must operate over a network

Authors: Carly Dekock & Jason Quaglia

The Setup

Getting Started

  1. Clone down the repository

  2. Run the command npm install from inside vendor and server folders.

Testing the Server

  1. Open 3 terminal windows to each of the 3 folders listed above.

  2. In server run the command node server.js

  3. In vendors run the command node player1.js

  4. In a separate vendors window run the command node player2.js

  5. You should see in the server window the connections, game start events, player choices, and the winner.

  6. You will see a dialogue between the two clients to play ROSHAMBO

UML

UML Diagram

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published