Night Writer and its sister program Night Reader are interactive programs designed to allow users to enter their own text and convert it to Braille, as well as translate Braille into english. Written in Ruby and interacted with via a text file, both are easy to use and highlight the importance of accessibility in the software design field
This Solo Project should accomplish these objectives:
- Practice breaking a program into logical components
- Testing components in isolation and in combination
- Applying Enumerable techniques in a real context
- Reading text from and writing text to files
-
For English to Braille:
- In your text editor, open message.txt
- Enter the text you would like translated into Braille in lowercase with no punctuation or special characters
- From the command line, run 'ruby ./lib/night_writer.rb message.txt braille.txt'
- From the command line, run 'ruby ./lib/night_reader.rb braille.txt english.txt'
This will write your english text from the message.txt file to the braille.txt file
For Braille to English
This will translate the Braille in the braille.txt file and print it in the english.txt file