Skip to main content
  1. Projects/

Schaken

A team-based first programming project built during my second bachelor. The application is a full web-based chess platform supporting player vs player matches, bot opponents, and puzzle solving. It features a custom-built chess engine in JavaScript with full game-state handling, including legal move generation, check and checkmate detection, castling, and pawn promotion.

The chess bot is implemented using Minimax with alpha-beta pruning for optimized search performance. Board evaluation combines material scoring, piece-square tables, and checkmate heuristics. Heavy computations run asynchronously using Web Workers, keeping the UI responsive. Game states and puzzles are handled using FEN notation, enabling serialization, undo functionality, and puzzle integration via a mock API.