Skip to content
/ Calypso Public

Calypso is a communication program built in Ruby using TCP for communication and following the MVC (Model-View-Controller) design pattern. This pogram allows users to create or join chat rooms, with the option to set a password for security.

License

Notifications You must be signed in to change notification settings

DALM1/Calypso

Repository files navigation

Calypso

Logo de Calypso

Resume

Calypso is a communication program built in Ruby using TCP for communication and following the MVC (Model-View-Controller) design pattern. This pogram allows users to create or join chat rooms, with the option to set a password for security.

Utilisation

git clone https://github.com/DALM1/Calypso.git
cd Calypso
gem install bundle
bundle install
ruby cal.rb

0.1 Beta Patch Note

  1. User and Room Management Commands:

• /quit : Exit the current room and return to the main menu.

• /list : Lists the users present in the room.

• /info : Provides information about the room (name, creator, users).

• /hodor 'newpass' : Changes the room’s password (only the creator can do this).

• /ban 'username' : Bans a user from the room (only the creator can do this).

• /powerto 'username' : Transfers the ownership of the room to another user.

• /erased 'roomname' : Deletes the room (only the creator can do this).

• /axios 'CurrentRoom' 'NewRoomName' : Redirects all users from one room to another and closes the current room.

  1. Permission Management:

    • Sensitive commands verify that only the creator of the room can execute them.

  2. Proper Connection Management:

    • Client connections are properly closed after the user leaves the room.

Calypso2.0

About

Calypso is a communication program built in Ruby using TCP for communication and following the MVC (Model-View-Controller) design pattern. This pogram allows users to create or join chat rooms, with the option to set a password for security.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages