Skip to content

2arian3/Cool-Programming-Challenges

Repository files navigation

Cool Programming Challenges

A personal playground of small projects — games, visualizations, encoders, and low-level experiments.

Python C++ Assembly

Each folder is a self-contained project. Clone the repo, pick a folder, and run.


Projects

Animated bar-chart visualizations of 7 classic sorting algorithms — all sorting the same 100-element array so you can compare strategies side by side.

Python · NumPy · Matplotlib

Quick Sort

A fully playable Tetris clone built with pygame — my second pygame project and a lot of fun to make.

Python · pygame

Tetris

Classic tic-tac-toe with a simple AI opponent, built with pygame and pygame_widgets.

Python · pygame · pygame_widgets

Tic-Tac-Toe

Cellular automaton on a 64×64 board — three simple rules, endlessly fascinating patterns.

Python · NumPy · Matplotlib

Game of Life

From-scratch Base64 encoder and decoder in C++. Encode any file to Base64 or decode it back — no external libraries.

C++ · make

make
./encode fileName
./decode base64FileName

Notes and experiments from learning x86 assembly — understanding how computers work at the lowest level.

x86 Assembly


At a Glance

Project Language Type Highlights
Sorting Algorithms Python Visualization 7 algorithms, animated comparisons
Tetris Python Game Full pygame implementation
Tic-Tac-Toe Python Game Simple AI opponent
Conway's Game of Life Python Simulation 64×64 cellular automaton
Base64 C++ Utility Encode / decode any file
x86 Assembly Playground Assembly Learning Low-level experiments

Getting Started

git clone https://github.com/2arian3/Cool-Programming-Challenges.git
cd Cool-Programming-Challenges

Then open any project folder and follow its README:

# Python projects
cd Tetris && pip install -r requirements.txt && python main.py

# C++ project
cd Base64 && make && ./encode myfile.txt

macOS + pygame: Use pygame 2.0.0.dev8 or higher to avoid compatibility issues.


Built for fun, learning, and experimentation.

About

Cool programming challenges solved in different languages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors