-
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:
-
A “hub” server that moderates all events
-
Multiple “clients” that connect to the hub which can both publish and subscribe to events
-
Must operate over a network
-
-
Clone down the repository
-
Run the command
npm install
from insidevendor
andserver
folders.
-
Open 3 terminal windows to each of the 3 folders listed above.
-
In
server
run the commandnode server.js
-
In
vendors
run the commandnode player1.js
-
In a separate
vendors
window run the commandnode player2.js
-
You should see in the server window the connections, game start events, player choices, and the winner.
-
You will see a dialogue between the two clients to play
ROSHAMBO