An assignment on multi-threading and client-server architecture.
- Exercise_1: using
synchronized
to prevent accessing the same resource at the same time by multiple threads - Exercise_2: using multiple threads to generate random numbers and report their sum
- Exercise_3: using socket-io for client-server communication for palindrome checks
- Exercise_4: using socket-io for client-server communication for getting date/time
- Exercise_5: extending Tic-Tac-Toe done in Assignment 2 to support multiple players using socket-io. Launch the server by running
run_server.sh
. Launch atleast two individual clients usingrun_client.sh
.
Exercise 5: