Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MorseMessenger.

Description

This is a real-time chat application built in C++ using the SFML library, allowing users to communicate using Morse code. The app translates messages into Morse code for sending, and decodes incoming Morse code into readable text this ensures encrypted information being sent and recieved.

The project demonstrates the use of C++ for network communication, real-time messaging, and GUI development using SFML.

Features

  • Real-time chat using Morse code.
  • Encoding of text into Morse code.
  • Decoding of Morse code back to text.
  • User Friendly Graphical User Interface (GUI) with SFML.
  • Support for multiple users.
  • Error handling for invalid Morse code input.

Installation and Setup

  1. Clone the repository: via https or via ssh.

You do not have to install SFML yourself as CMake downloads it externally.

  1. Compile the project.
    • Run cmake . to download the SFML libraries and link all of the source files.
    • There are now two seperate binary executables to compile:
      • For the server app run make ServerApp to produce the executable, then ./bin/ServerApp OR:
      • For the client app run make ClientApp to produce the executable, then ./bin/ClientApp

Documentation

Table of contents:

How to use

  • Launch the app and enter your message in the text input area.
  • The message will automatically be translated into Morse code and sent.
  • Incoming Morse code messages from other users will be decoded and displayed as text.

Future Improvements

  • Add message encryption for secure communication.
  • Allow file transfers in Morse code.
  • Optimize the Morse code encoding/decoding algorithm for speed.

The Goal

The goal of the project is to create a chat application that allows users to communicate by sending and receiving Morse code messages. The main challenge is to create a smooth and responsive GUI while ensuring that Morse code is encoded and decoded efficiently in real time.

About

A real-time open-source messaging application written in C++ using SFML, featuring a custom GUI, TCP networking, and Morse code communication.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages