KrisWolfe

Profile
St. Louis

This is my Game dev blog for Fraud simulator! Let's make a game together!

14 comments
3 followers
32 entries
Advertisement
KrisWolfe
June 02, 2019
Quick Update: At a wall

So I have the economy running and graphs are up and showing me that I have a bunch of bugs in my economy code. Some goods are being bought but others are not. Why? I don't know, but the goods that are being bought are definitely working.

But I'm stuck at something stupid. Player orders. It's…

1,711 views
KrisWolfe
May 28, 2019
Refactoring and Polish

So the time has come...I need to polish the UI and user experience. I finished up the economy and I'm pretty happy with it. It seems stable. I haven't run it through 10,000 turns or anything, but its workable.

So, we have 3 times of companies, we have licenses that easily determine what cate…

1,691 views
KrisWolfe
May 24, 2019
Markets are done, moving to Service Companies

Huzzah! Not much to really show since everything happens in Debug.Logs and code, but markets are done.

So what can retail agents do? Right now they can choose between restaurants or super markets...both of them have a different lists of goods. The restaurants will have the more complex good …

1,925 views
KrisWolfe
May 21, 2019
I changed my mind. Licenses.

This weekend I probably put in around 20 hours with my economy code. I ripped up everything and slowly rebuilt it in a new class, transferring over logic. My controller code is now just a flow controller, and all the logic is contained in the actual companies and contract logic.

So what can …

2,089 views
KrisWolfe
May 18, 2019
Differentiating NPC and Player agents

The refactoring of the market code is trucking along. I've learned so much about C# and programming since I first wrote it, and my design has changed since then, so I'm using the old pseudocode as my template while rewriting the class itself. It's not really hard. My new code looks like this:

1,914 views
KrisWolfe
May 16, 2019
Refactoring the Economy

The data model merge took place. I broke the code and then rebuilt it. This is actually more fun than I imagined.

So, now I'm working on refactoring the market code to allow it to be extensible as I add in company behavior. All the market decisions were being handled inside the market contro…

1,880 views
KrisWolfe
May 13, 2019
Moving on to clear my mind

The iteration is going well with the tree. I have the bottom layer finished. I can now drag and drop low level employees into the tree and it grows, and if I take low level employees out, it clips the tree.

Draggin…

1,732 views
Advertisement
KrisWolfe
May 08, 2019
Solving the tree problem

So, I think I've designed a possible solution to my tree problem.

First off, I really like C#. My background when I was young was C++, and learning data structures and pointers was interesting. I did really well with assembly language, and enjoyed those kind of recursive things. But I never …

1,851 views
KrisWolfe
May 07, 2019
Recursive thinking

Recursive programming is tough, but oh so rewarding. After 2 days of trying to figure out this thing is going to take shape, I've done it:

A hierarchy tree. It's quite dynamic too. It can have lopsided trees and uneve…

1,958 views
KrisWolfe
May 05, 2019
One small step in algorithms

So, from my last update, I got most of it working. Using 3 interfaces, I have the CEO of a company being created, and all the idle employees being placed into the idle panel, along with an empty slot being spawned in order to start getting people managed and working.

Read more in KrisWolfe

2,589 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
14 Followers
klg71
Generalist
57 Entries
2 Followers
ApochPiQ
Generalist
628 Entries
45 Followers
15 Entries
14 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement