Searching Stick - SFML
A downloadable game for Windows
๐ Searching Stick (SFML + C++)
Searching-Stick is a small SFML-based C++ program that visually demonstrates two classic searching algorithms: Linear Search and Binary Search. The array elements are represented as vertical "sticks", making it easier to understand how each algorithm operates step-by-step.
Github Link: https://github.com/Chintan-Patel-Games/Searching-Stick
๐ ๏ธ Technologies Used
- C++
- SFML (Simple and Fast Multimedia Library)
๐ Algorithms Demonstrated
- Linear Search โ Scans each stick from left to right until the target is found.
- Binary Search โ Efficiently searches a sorted array by repeatedly dividing the search range in half.
๐ก Data Structure Used
- The sticks are stored in a dynamic array
- Each Stick is a custom struct that contains properties such as height and color, used for visualization.
๐ฎ Features
- Real-time visual feedback for search operations
- Highlights each step during the search
- Educational tool for beginners to understand search algorithms visually
๐ Concepts Demonstrated
- Linear Search
- Binary Search
Updated | 3 days ago |
Status | Released |
Platforms | Windows |
Author | Chintan Patel |
Download
Download
Searching-Stick.zip 5.4 MB
Leave a comment
Log in with itch.io to leave a comment.