Skip to content

ᴀ ꜰᴀꜱᴛ, ᴍɪɴɪᴍᴀʟ, ᴀɴᴅ ɪɴᴛᴇʀᴀᴄᴛɪᴠᴇ ʀᴏᴄᴋ–ᴘᴀᴘᴇʀ–ꜱᴄɪꜱꜱᴏʀ ɢᴀᴍᴇ ʙᴜɪʟᴛ ɪɴ ᴄ ᴡɪᴛʜ ʀᴇᴀʟ-ᴛɪᴍᴇ ꜱᴄᴏʀᴇ ᴛʀᴀᴄᴋɪɴɢ ᴀɴᴅ ʀᴀɴᴅᴏᴍ ᴀɪ ʟᴏɢɪᴄ.

License

Notifications You must be signed in to change notification settings

roshhellwett/Logichands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧩 Logichands

License Platform Status Contributions GitHub stars


⚡ Command-Line Logic Evaluator in C

Logichands is a lightweight and modular command-line tool written in C that helps users perform logical operations and compound expression evaluations interactively.
It’s designed to demonstrate structured programming, modularity, and Boolean logic concepts in a simple yet elegant way.


🧮 Features

🧠 Capability 💡 Description
✅ Logical Operations Supports AND, OR, NOT, XOR
🧩 Compound Expressions Evaluate combined Boolean expressions
🔁 Interactive Menu User-friendly CLI for input and selection
⚙️ Modular Code Functions for readability and reusability
💻 Portable Works on any Linux terminal with a C compiler

🧠 Concepts Demonstrated

  • Boolean logic and truth tables
  • Function-based modular design
  • Menu-driven CLI structure
  • Conditionals (if-else, switch)
  • User input handling with validation

📁 Project Structure

Logichands/
│
├── main.c # Core logic & user interface
├── logic.c # Logic operation implementations
├── logic.h # Function declarations
├── README.md # Project documentation
└── LICENSE # Apache 2.0 License

🚀 Getting Started

🧰 Prerequisites

Ensure you have:

  • A C compiler such as gcc
  • A Linux or terminal environment

⚙️ Installation & Build

# Clone the repository
git clone https://github.com/roshhellwett/Logichands.git
cd Logichands

# Compile the program
gcc main.c logic.c -o logichands

🧩 LOGICHANDS - LOGICAL OPERATIONS TOOL 🧩

  1. Perform Basic Logic Operation
  2. Evaluate Compound Expression
  3. Exit
Enter your choice: 1

Select Operation:
1. AND
2. OR
3. NOT
4. XOR

Enter first value (0/1): 1
Enter second value (0/1): 0

Result: 1 AND 0 = 0

About

ᴀ ꜰᴀꜱᴛ, ᴍɪɴɪᴍᴀʟ, ᴀɴᴅ ɪɴᴛᴇʀᴀᴄᴛɪᴠᴇ ʀᴏᴄᴋ–ᴘᴀᴘᴇʀ–ꜱᴄɪꜱꜱᴏʀ ɢᴀᴍᴇ ʙᴜɪʟᴛ ɪɴ ᴄ ᴡɪᴛʜ ʀᴇᴀʟ-ᴛɪᴍᴇ ꜱᴄᴏʀᴇ ᴛʀᴀᴄᴋɪɴɢ ᴀɴᴅ ʀᴀɴᴅᴏᴍ ᴀɪ ʟᴏɢɪᴄ.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages