Programming Games

Algorithm Visualization & Interactive Demos

🐍 Snake AI

A* Pathfinding

AI-powered snake that uses A* pathfinding algorithm to efficiently collect food while avoiding collisions.

Algorithm: A* Type: Heuristic Search

πŸ”„ Conway's Life

Cellular Automata

A cellular automaton where simple rules create complex, emergent patterns. Each cell lives or dies based on its neighbors.

Type: Zero-player game Concept: Emergence

🧩 Sudoku Solver

Backtracking

Automated Sudoku solver using backtracking. Watch as it systematically tries numbers and finds the solution.

Algorithm: Backtracking Type: CSP

🟦 Tetris

Game Logic

Classic Tetris implementation with smooth animations, line clearing, and increasing difficulty.

Genre: Puzzle Core: State Management

🎯 2048 AI

Minimax

AI that plays 2048 using minimax algorithm. Watch as it evaluates future board states to make optimal moves.

Algorithm: Minimax Type: Adversarial Search

πŸ—ΊοΈ Pathfinding

A* vs Dijkstra

Compare different pathfinding algorithms: A*, Dijkstra, BFS, and DFS. Visualize how each algorithm explores the search space.

Algorithms: A*, Dijkstra Type: Graph Traversal