Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
78

Latest Updates

Documenting code, one commit at a time.

C# 10 posts
×

Mastering Design Patterns: Insights from Week 4

In the DataStructures_And_DesignPatterns project, we have been focused on refining our approach to software architecture through the lens of classic design patterns. This week, the journey culminated in a successful deep dive into implementing structural and creational patterns effectively within a .NET environment.

Moving Beyond Boilerplate

When starting with design patterns, it is common

Scaling Exam Logic with the Pipeline Pattern in .NET

When managing complex application logic—such as processing multiple exam questions—it is easy to let your codebase become a collection of disjointed methods. While working on the LeapExam project, I found that organizing assessment modules into discrete, sequential steps leads to far better maintainability.

The Problem with Spaghetti Logic

Initially, processing individual exam questions

0 .NET ASP.NET C# MVC

Scaling ASP.NET MVC: Building Structured Entity Controllers

Structuring Data Handling

In the ASPNet_Learning project, the focus has recently shifted toward refining how we organize data entities. As applications grow, maintaining clean separation between business logic and the view layer becomes a primary challenge. By moving toward a standardized MVC structure for our entities, we improve maintainability and simplify the testing surface of our

Optimizing Performance: Implementing Object Pooling and Flyweight Patterns in Unity-DesignPatterns

Managing memory efficiently is the cornerstone of high-performance game development. In the Unity-DesignPatterns project, I recently focused on implementing structural design patterns to reduce garbage collection overhead and optimize memory consumption for frequently spawned game entities.

The Bottleneck: High Frequency Allocation

In many game systems, we frequently instantiate and destroy

0 C# Serde

Enhancing Combat Mechanics: Implementing Type Effectiveness and Critical Hits

The Combat Challenge

In the BurningAl15/PokemonLike-Game project, our battle system initially relied on flat damage calculations. While functional for basic testing, it lacked the strategic depth and dynamic variance that define engaging turn-based combat. To elevate the gameplay experience, we needed to integrate a system that rewards type advantage and introduces an element of

Streamlining Database Seeding in ASP.NET Projects

Rethinking Data Initialization

Manual data seeding can quickly become a bottleneck in development cycles, especially when your Entity Framework models grow in complexity. During recent work on the ASPNet_Learning project, the goal shifted toward optimizing how initial state is injected into the database to improve build reliability and local development performance.

The Cost of Naive

0 C# .NET State Machine

Mastering Game Architectures: Implementing State Machines in Unity

Architectural Foundations

In our ongoing work on the BurningAl15/CourseraUnityCourses project, we have been exploring the critical role of robust architectural patterns in game development. When building complex interactive systems, managing game state effectively is often the difference between a maintainable codebase and a web of spaghetti code.

Transitioning from simple script-based logic

0 C# .NET Serde Paddle

Optimizing Score Logic in WackyBreakout

Managing game state in high-frequency loops requires precise control over how points are calculated and tracked. In the WackyBreakout project, we recently refactored the scoring engine to handle multiple point triggers efficiently.

The Challenge of Point Increments

When dealing with arcade-style mechanics, you often find yourself mapping collision events to specific point values.

0 C# .NET Serde

Refining Game Architecture: Iterative Improvements in Platformer2d

In game development, the most significant leaps forward rarely come from massive architectural overhauls. Instead, they come from the quiet, persistent work of refining systems to be more predictable and maintainable. Recently, I have been focusing on iterative improvements within the Platformer2d project, a .NET-based engine designed for 2D side-scrollers.

The Evolution of Game Systems