Commit Graph
27 Commits
Author SHA1 Message Date
nocode 07afbb1486 refactor(morse): restructure program flow and improve separation of concerns
- Split main method logic into separate concerns: dictionary initialization, user input, text conversion, and translation
- Change programeDictionnary() to return dictionary instead of void
- Extract askUserSentence() to return user input string
- Extract userTextToAnArray() to return array instead of calling translation directly
- Remove debug output and dictionary printing
- Adjust Console.Beep durations: 100ms for dots, 400ms for dashes
- Improve method signatures to better reflect their responsibilities
2026-09-07 09:59:11 +02:00
nocode aa35d4a0f9 feat(morse): implement morse code translation with audio output
Refactor morse code generation to return a dictionary for reuse across methods. Add translateUserSentenceToMorse method that converts user input to morse code and plays audio beeps based on dots and dashes. Pass letterToMorse dictionary through the call chain (askUserSentence -> userTextToAnArray -> translateUserSentenceToMorse) to enable translation functionality.

Changes:
- Make programmeLetterToMorseCode public and return IDictionary
- Add morse code translation method with beep audio feedback
- Update method signatures to accept morse code dictionary
2026-09-07 09:32:28 +02:00
nocode f53c47684a feat: add method to convert user text into character array
Add new userTextToAnArray method that converts a string into an array of individual characters using LINQ Select and ToArray. This allows for character-level processing of user input.

Also add System.Linq using statement to support LINQ operations.
2026-09-07 08:46:42 +02:00
nocode ddb515f3e5 feat(PI114): add askUserSentence method for user input
Add a new static method that prompts the user to enter a sentence to decipher, reads the input from console, and displays it back. This method will be used to gather user input for the morse code translation feature.
2026-09-07 08:29:54 +02:00
nocode 489ba98991 feat(program): add morse code dictionary and refactor main into separate methods
Extract dictionary initialization into programeDictionnary() method and add programmeLetterToMorseCode() method with complete morse code mappings for letters a-z and digits 0-9. Add program header display in Main() and call to askUserSentence() to facilitate user interaction flow.
2026-09-07 08:29:04 +02:00
nocode f3c5bf70b9 feat: add morse code converter with special character mapping
Implement initial version of text to Morse code conversion algorithm. Includes a dictionary for mapping accented characters to their base equivalents (e.g., é, è, ê, ë to e). Currently demonstrates the special character dictionary functionality by iterating and printing key-value pairs.
2026-08-31 10:18:13 +02:00
nocode da148dfa31 build(sln): regenerate project and solution guids
Update Visual Studio solution file with newly generated GUIDs for the project and solution. This ensures proper identification in the Visual Studio environment.
2026-08-31 10:18:04 +02:00
nocode 95406281d8 build: update target framework from net10.0 to net8.0 2026-08-31 10:17:27 +02:00
nocode 6954ed856b chore(gitignore): add vscode directory to gitignore
Add .vscode/ to the gitignore file to exclude editor configuration files from version control. Also normalize the trailing newline in .gitignore.
2026-08-31 09:25:29 +02:00
nocode f6dbce55d4 build: add visual studio solution file for p-i114 project 2026-08-31 09:24:00 +02:00
nocode 6d2157d5d6 build: add P-I114 project configuration 2026-08-31 09:23:55 +02:00
nocode 8448cc695a chore: remove I114.csproj project file 2026-08-31 09:23:49 +02:00
nocode f4be684fb5 chore(gitignore): add visual studio cache directory to gitignore 2026-08-31 09:23:40 +02:00
nocode b6b2314d6d docs: add DDF-P-114 flowchart diagram
Add a new diagram file DDF-P-114.drawio.html containing a flowchart for text-to-morse code conversion process. The diagram includes decision nodes for validating input characters and conversion steps.
2026-08-31 09:17:40 +02:00
nocode 3ebcb3fa6e docs(i114): convert estimations from periods to minutes
Replace period-based estimations (1 période ≈ 45 min) with minute-based estimates (rounded to 5 min increments) for better clarity and precision.

Update volume reference from ~6 periods to ~270 min in header.
Adjust total MUST estimate from ~6.5 periods to 350 min with note about exceeding CDC timeline.
Update estimation column description in metadata table.
2026-08-24 14:01:43 +02:00
nocode 5d2b21dfbd docs(i114): add acceptance criteria and restructure morse backlog document
Add a new 'CA' column to the overview table with acceptance criteria references for each user story. Expand the detailed backlog section (section 4) with comprehensive acceptance criteria for each user story, replacing minimal task lists. Restructure markdown formatting for better readability:
- Convert tildes to escaped tildes for proper markdown rendering
- Standardize horizontal dividers to use '- - -' format
- Escape numbers in headers (e.g., '1\.' instead of '1.')
- Improve table formatting with consistent column separators
- Add new 'CA' field to legend section
- Update task lists to use bullet points with better visual hierarchy

Total MUST criteria increased from implicit to explicit: 72 acceptance criteria across 16 mandatory user stories.
2026-08-24 10:34:44 +02:00
nocode 699c32f05e feat: initialize new console application project
Create a new .NET console application project with basic configuration and hello world example. Sets up the project structure with net10.0 target framework, implicit usings, and nullable reference types enabled.
2026-08-24 10:08:18 +02:00
nocode 0e43c507ac docs(backlog): restructure morse project backlog with detailed user stories
- Remove epic section and merge content into streamlined backlog structure
- Reorganize 25 user stories with individual acceptance criteria and task breakdowns
- Add architecture section as primary reference (previously labeled 2bis)
- Update story numbering and references (US-24 → US-25 for unit tests)
- Add must-have total estimate (~6.5 periods) and task details for each story
- Clarify blocking dependencies (US-03 blocked by US-02)
2026-08-24 10:08:03 +02:00
nocode 563678ae4c docs(i114): add backlog for morse code project
Add comprehensive backlog document for project 01 (Morse code) of module I114.

Includes:
- Legend and epic definitions
- Target architecture for "Couteau Suisse" (Swiss Army knife) multi-tool application
- Detailed backlog with 24 user stories across 6 epics:
  * E1: Analysis & modeling (2 stories)
  * E2: Application foundation (4 stories)
  * E3: Conversion engine (5 stories)
  * E4: Robustness (2 stories)
  * E5: Validation & delivery (2 stories)
  * E6: Evolutions/bonus features (9 stories)
- Acceptance criteria and DoD
- 2-week planning schedule
- Architecture constraints (A1-A5) emphasizing separation of concerns for future projects 02 and 03
2026-08-24 09:34:40 +02:00
nocode aa28291b3b build: add gitignore file with common exclusions
Exclude build artifacts (obj/, bin/), GPG keys (*.gpg), and public key files (*.pub) from version control.
2026-08-24 09:18:41 +02:00
nocode 22ed53e17a docs(readme): update license file path to documents directory
Update the license file path reference in README.md to reflect the new location in the documents directory.
2026-08-24 09:00:50 +02:00
nocode 65f00001e2 docs: add project readme with overview and structure
Create comprehensive README documenting the I114 computer science projects course. Includes project descriptions (Morse Code, Base Conversion, Steganography), installation instructions, and license information.
2026-08-24 08:59:55 +02:00
nocode 4be6083515 chore: remove pdf files from repository
Delete binary PDF files that should not be tracked in version control. These appear to be generated documents that can be recreated from source files.
2026-08-24 08:59:48 +02:00
nocode 398ef489c0 docs(documents): add project specifications and license files
Add MIT license and three project specification documents:
- i114_cdc_01_morse.pdf: Morse code conversion project requirements
- i114_cdc_02_conversion_bases.pdf: Number base conversion project requirements
- i114_cdc_03_steganographie.pdf: Steganography project requirements

These documents define the educational objectives, acceptance criteria, and implementation guidelines for a multi-part Swiss Army knife utility program in C#.
2026-08-24 08:59:28 +02:00
nocode 476303f6d5 docs: add steganography project specification document
Add complete project specification (cahier des charges) for the steganography module (i114), including objectives, functional requirements, acceptance criteria, and implementation guidelines for a C# console application that hides Morse code messages in carrier text using invisible Unicode characters.
2026-08-24 08:47:01 +02:00
nocode dbbf9f7be8 docs: add specification document for base conversion project
Add the cahier des charges (specifications document) for module 114 project 2 on base conversion. This document defines the requirements for extending the Swiss Army knife utility program to include decimal, binary, and octal number base conversion features. It includes learning objectives, expected functionality, acceptance criteria, and implementation guidelines.
2026-08-24 08:46:52 +02:00
nocode 4523ccf390 docs: add morse code project specification (i114)
Add the complete project specification document for the Morse code conversion module (i114). This PDF contains the detailed requirements for a C# console application that converts French text to Morse code, including:
- Project objectives and learning goals
- Expected functionality and features
- Morse code correspondence table
- Required modeling (structogram, pseudocode, or flowchart)
- Acceptance criteria for validation
- Possible simplifications and extensions

The document serves as the primary reference for students undertaking this coding project.
2026-08-24 08:46:42 +02:00