Falcon Compiler

A compiler I wrote for my university bachelor project. Flex and Bison is used for generating a lexer and parsing the abstract syntax tree.

Some features include:
  • Type-checking
  • Preprocessor directives, Functions, Variables, Structs, Memory allocation, ...
  • Weeding Steps and printing the AST directly to latex.
  • Assembly code generation
  • Code execution
Falcon Compiler
Some features include:
  • Assimp for importing all the major 3D and image file formats.
  • Uses ImGui for the gui
  • Shader hotloading
  • 3D bone animations
  • Materials
  • GameObjects similar to Unity
  • ...
CPU Ray Tracer

Features:
  • Simple Conccurency
  • Loading of .OBJ files
  • Displays objects using swing and can save screenshots.
  • Rotations in 3D space
  • Simple flat shading
  • Light sources
  • ...
CPU Ray Tracer
CPU Ray Tracer
CPU Ray Tracer
CPU Ray Tracer
Sudoku Solver

My second programming project at the University. Sudoku is an NP-complete problem, we cannot verify the solution in polynomal time. Therefore, this was an attempt to brute-force our way to the correct solution. We scan sequentially/naively for the cells at each step and backtrack on failure. This can be improved by a greedy algorithm that simply chooses some local optimal steps at each iteration, and with backtracking we can always generate a correct solution.
Sudoku Solver
Flappy bird clone

I wrote this when the hype was high and when the game removed from the App stores.
Nightplanet-Game

Some features include:
  • Tile Map system that can be edited and created by Tiled
  • Tile and Rigidbody collision detection
  • Animated Tiles, like the fire on the walls and water.
  • A* Star path finding for NPC's
  • 2D Light Occlusion
  • Projectiles
  • Dynamic Lights