17 December 2017

Whats There If No One Looks?

We know if we look at something it's there. It is hard to argue that there's not a computer screen, mobile phone or different device to read this page in front of you right now. If you look at football, it's there! Definitely! If you look away and someone looks at it, they can tell you it's there.

If No One Looks At It

Is it there? You're not looking at it. Now you could say, I've seen it there it must be there. Alternatively, you could ask someone else if they see it, but if they don't look at it they can only do the same you did: Say they've seen it there so it must be there. Is that enough? Can we say just because we've seen something at a certain place it's definitely exactly at that position?

Empirical Research

This is how our brain works most of the time. Knowledge by experience. We see the football, look away, check it at some point again, it's still there. Thus we conclude it must've always been there like it has been the first time we saw it. At some point when we see the ball is no longer at the same spot, something must have changed. We figure out someone moved it. We see how it was moved. Now we think if it's not at the same spot it has been moved. So if we look at the football and check on it later and nothing has changed we assume the scene hasn't been tampered with. We would never expect that when we do not look at the ball something might be going on with the ball and the surrounding area. If we're away from our home we would never imagine that something happens to our room at home when we're not there. Especially if we come home and it hasn't changed at all.

Observing Changes Variables

Through our years in quantum physics, we figured out that every particle has a probability to be at a position. When we observe the particle it is always at a certain position respective to that probability. If we don't observe it we can't say for sure where it's at. If this counts for every particle of a ball. Additionally, these particles interact with each other they collide and all. So due to the interactions of each of those particles, we can say for sure that they're forming a ball. Now the ball can be at any position that matches the formula of all the probabilities of the particles. Since the ball also interacts with the air surrounding it and the ground it may lie on we can continue to eradicate all possibilities that won't match this position. In the end, we can say that as long we observe anything we can conclude that the world around us is as we experience it.

Does A Blind Man Observe?

Observing something isn't the only limiting factor here. Just standing around makes your feet interact with the ground.

Okay, let's go with a thought experience I've created once to give an example of the division through zero. If you have a cake and you divide it through 2 people, you get 2 pieces - a half each - for each person. If you have a cake and you divide it through 1 person you get the whole cake for that person. If we have a cake and divide it through no one, there's no one there, there's no one who can divide the cake. You don't even have someone who knows the cake is there. Does the cake even exist? No one can tell you.

If We Don't Observe

Going with this, if we're not observing anything and not looking at something we're disconnected from the world. We're now independent of what happens around us, the probabilities can do their thing freely and the position of everything around us is uncertain until we observe it again. You could call this a state of mind of uncertainty.

Magic Plays a Role Too

Now at this point, if we say magic exists and what magic does is change the probabilities of reality. This means if we think about the ball being where we saw it. This thought should change the probabilities for the ball to be where we saw it. That also means if we convince our unconsciousness to believe that we remember the ball to be somewhere else it should be somewhere else if it's a possibility given by the probability function of the particles of the ball.

Okay, but.. if one person thinks the ball is on the desk and another thinks it's on the ground where is it then?

Interference of Several Thoughts

Well, what happens if two people think of a different position of the ball? I wouldn't know the details but I would assume the more people, the more whose unconsciousness is convinced the most the higher the chance for the ball to be at the position these people believe it is.

And that's all there is. At least as long you or someone else looks at it. :P


16 December 2017

Guild Wars 2: Christmas Without Procrastination

Ah, yes. The Wintersday patch of Guild Wars 2 went live on Tuesday. Another round of cold, karmic, tooth hurting Wintersday fun. Just like every time a limited event with achievement points is going on or when a new Player vs Player and/or World vs World season starts, I always calculate how much I have to do each day. I don't wanna do everything on the last day (procrastination) and I don't want to do everything on the first day (inefficient).

What Do We Have Here?

So we have three categories of achievements now.
  • The Wondrous Workshop of Toymaker Tixx
  • Wintersday Traditions
  • Winter's Presence
The first category includes one-time achievements that basically want you to do everything Wintersday has to offer.
Wintersday Traditions contains repeatable achievements for every year. Some give achievement points and some don't.
Winter's Presence is a handful of achievements that were one time, rewarding you with collectible items that are consumable for karma at the same time. This collection gave a shoulder skin that gave your character a snow effect.

Since the Wintersday Traditions are the only achievements that seem to repeat every year let's see what it takes to complete them.

What Do We Need To Do?

First things first we need to know how much we have to do in total. Many of the achievements only reward presents. That's nice but we could just farm them forever without end. (aside from the end of the Wintersday event). So let's go for achievement points only. The achievements that reward achievement points in the Wintersday Traditions category are:

  • Toypocalypse Survivor
  • A Season of Merriment
  • Wintersday Wonderland Mastery
  • The Bells of Wintersday
  • Dauntless Donator
  • The Giving Spirit
  • Ulla's Rival
And aside from this category if you've done the non-repetitive achievements in the last years the only new one is Holiday Food Drive.

So let's look into the achievements in detail.

Toypocalypse Survivor
The achievement rewards 5 achievement points with a cap of 25. For each 5 achievement points, we need to do 30 rounds of Toypocalypse. So we can repeat this 5 times to cap the achievement points. That means we need to do 5 * 30 = 150 rounds. A full game consists of 10 rounds. So 15 full runs.

A Season of Merriment
This achievement requires us to do 3 dailies 5 times to get 10 achievement points. It is capped at 100 achievement points. That means we can repeat it 10 times so we need to complete 3 dailies 5 * 10 = 50 times. You could say 150 dailies.

Wintersday Wonderland Mastery
Ah yes, the jumping puzzle. This achievement rewards 5 achievement points and is capped at 25. It requires 3 runs to complete once. That equals 5 * 3 = 15 runs to do.

The Bells of Wintersday
Though it was bugged the first days it is now fixed and doable again. It also rewards 5 achievement points each and is capped at 25. We need to complete 20 songs for one iteration. So 20 * 5 = 100 songs in total.

Dauntless Donator
This may sound wrong but let's see the minimum amount of children we need to give presents each day. I already feel bad... anyways, This achievement also gives 5 achievement points per repetition and caps at 25. We need to satisfy 30 orphans. That's 5 * 30 = 150 orphans to give gifts to.

The Giving Spirit
Talking about giving. 25 achievement points in total 5 for each repetition and in old Halloween fashion the Quaggan Drooburt wants 1000 snowflakes per iteration. That's 5 * 1000 = 5000 snowflakes.

Ulla's Rival
Last but not least, Ulla's race. Like most other, we're awarded 25 achievement points with 5 every time we repeat it. We need three races to repeat so we have to do it 3 * 5 = 15 times.

And additionally: Holiday Food Drive
This is not repetitive but we get 15 achievement points when donating 150 wintersday food items.

How Are We Going To Do It Now? 

We know what to do, how much to do, but how are we going to do it now? We're going to check how much we need to do every day to complete it. Thanks to Artumes I now know the Wintersday event goes until the 2nd of January. So let's go again to do the math. I'm going to make two calculations now. One expecting you to start from patch day and one expecting you to start working on the achievements from today.

So let's start with the first one.

What Does Arenanet Expect On Average

Not saying they do expect this but this is how it has been programmed. The patch was released on Tuesday the 12th of December. Until the 2nd of January, that's one month. We have 22 days if we get to play on the 2nd January before that patch is removed. So let's go with 21 days instead.

Now some small math and we got our results.

Toypocalypse
150 rounds of Toypocalypse over 31 days is 150 / 21 = ~7.14 so 7-8 rounds a day.

A Season of Merriment
Whelp. 150 dailies over 21 days that's again ~7.14. However, 3 dailies a day is the maximum that counts. So we'll be doing 3 dailies each day. That's all we can do here. The rest.. we have to wait for next year. If we do the 3 dailies every day we'll iterate the achievement every 5 days. So 21 / 5 = 4.2 that's 4 iterations this year. That means we need 4 more iterations next year and another 2 the year afterward.

Wintersday Wonderland Mastery
15 runs over 21 days that's 15 / 21 = ~0.71 so one run about every 2-3 days. What we can do here now is say that we run it every time it is daily. Chances are high we'll be able to finish it before Wintersday ends. Since there are 11 dailies, the meta daily is always active and the orphan daily is always active as well we have only 9 possible. Thus it has a 1 / 9 chance to occur. If it didn't the next daily has a 1 / 8 chance to be this one. If not the next one has a 1 / 7 chance... 1 / 6 chance, if not the last daily has a 1 / 5 chance to be this one.

With our chances being:

First achievement slot A = 1/9
Second achievement slot B = 1/8

Third achievement slot C = 1/7

The fourth achievement slot D = 1/6
Fifth achievement slot E = 1/5

P(A or B or C or D or E) 
= P(A or B or C or D) + P(E) - P((A or B or C or D) and E)
= P(A or B or C) + P(D) - P((A or B or C) and D) - P((A or B or C or D) and E)
= P(A or B) + P(C) - P((A or B) and C) - P((A or B or C) and D) - P((A or B or C or D) and E)
= P(A) + P(B) - P(A and B) - P((A or B) and C) - P((A or B or C) and D) - P((A or B or C or D) and E)
= P(A) + P(B) - P(A) * P(B) - P(A or B) * P(C) - P(A or B or C) * P(D) - P(A or B or C or D) * P(E)
= P(A) + P(B) - P(A) * P(B) - P(A) + P(B) - P(A and B) * P(C) - P(A or B) + P(C) - P((A or B) and C) * P(D) - P(A or B or C) + P(D) - P((A or B or C) and D) * P(E)
= P(A) + P(B) - P(A) * P(B) - P(A) + P(B) - P(A) * P(B) * P(C) - P(A or B) + P(C) - P(A or B) * P(C) * P(D) - P(A or B or C) + P(D) - P(A or B or C) * P(D) * P(E)
= P(A) + P(B) - P(A) * P(B) - P(A) + P(B) - P(A) * P(B) * P(C) - P(A) + P(B) - P(A and B) + P(C) - P(A) + P(B) - P(A and B) * P(C) * P(D) - P(A or B) + P(C) - P((A or B) and C) + P(D) - P(A or B) + P(C) - P((A or B) and C) * P(D) * P(E)
= P(A) + P(B) - P(A) * P(B) - P(A) + P(B) - P(A) * P(B) * P(C) - P(A) + P(B) - P(A) * P(B) + P(C) - P(A) + P(B) - P(A) * P(B) * P(C) * P(D) - P(A or B) + P(C) - P(A or B) * P(C) + P(D) - P(A or B) + P(C) - P(A or B) * P(C) * P(D) * P(E)
= P(A) + P(B) - P(A) * P(B) - P(A) + P(B) - P(A) * P(B) * P(C) - P(A) + P(B) - P(A) * P(B) + P(C) - P(A) + P(B) - P(A) * P(B) * P(C) * P(D) - P(A) + P(B) - P(A and B) + P(C) - P(A) + P(B) - P(A and B) * P(C) + P(D) - P(A) + P(B) - P(A and B) + P(C) - P(A) + P(B) - P(A and B) * P(C) * P(D) * P(E)
= P(A) + P(B) - P(A) * P(B) - P(A) + P(B) - P(A) * P(B) * P(C) - P(A) + P(B) - P(A) * P(B) + P(C) - P(A) + P(B) - P(A) * P(B) * P(C) * P(D) - P(A) + P(B) - P(A) * P(B) + P(C) - P(A) + P(B) - P(A) * P(B) * P(C) + P(D) - P(A) + P(B) - P(A) * P(B) + P(C) - P(A) + P(B) - P(A) * P(B) * P(C) * P(D) * P(E)

Inserted:
= 1/9 + 1/8 - 1/9 * 1/8 - 1/9 + 1/8 - 1/9 * 1/8 * 1/7 - 1/9 + 1/8 - 1/9 * 1/8 + 1/7 - 1/9 + 1/8 - 1/9 * 1/8 * 1/7 * 1/6 - 1/9 + 1/8 - 1/9 * 1/8 + 1/7 - 1/9 + 1/8 - 1/9 * 1/8 * 1/7 + 1/6 - 1/9 + 1/8 - 1/9 * 1/8 + 1/7 - 1/9 + 1/8 - 1/9 * 1/8 * 1/7 * 1/6 * 1/5
= 0.8687


So it has a chance of ~86.87% to appear in our dailies.

The Bells of Wintersday
100 songs in 21 days though 3 days were bugged. That's 100 / 21 = ~4.76 so 4-5 per day. With 3 bugged days we have 100 / 18 = ~5.55 so 5-6 every day.

Dauntless Donator
This one requires us to give 150 gifts. Give gifts, give life. We have 21 days so that's 150 / 21 = ~7.14 every day. However, if you want the daily done for the reward you will have to do 15 every day anyway.

The Giving Spirit
The good sir Quaggan wants 5000 snowflakes and gets 5000 / 31 = 238.1 snowflakes every day from us.

Ulla's Rival
Just like Wintersday Wonderland Mastery we only need 15 runs of this and we have 21 days. So 15 / 21 = ~0.71 per day. Or every second to the third day more or less. The same as the Wintersday Wonderland Mastery. You can do this when it's daily and it should be done at the end of Wintersday.

Holiday Food Drive
We need 150 foods for this and with 21 days that's 150 / 21 = ~7.14 or 7-8 food items per day.

Wintersday! Totally forgot! How much Do I Need Now?

The only thing that changes now is the number of days we have. From the 12th December to the 2nd January we had 21 days. So from the 16th December to the 2nd January, we have 17 days. Let's calculate everything with 17 days!

  • Toypocalypse: 150 / 17 = ~8.82. That's 8-9 per day.
  • A Season of Merriment: This doesn't change much.
  • Wintersday Wonderland Mastery: 15 / 17 = ~0.88. That's every 2-3 days.
  • The Bells of Wintersday: 100 / 17 = ~5.88. That's 5-6 every day.
  • Dauntless Donator: 150 / 17 = ~8.82. That's 8-9 every day.
  • The Giving Spirit: 5000 / 17 = ~294.12. So 294-295 per day.
  • Ulla's Rival: 15 / 17 = ~0.88. That's every 2-3 days.
  • Holiday Food Drive: 150 / 17 = ~8.82. That's 8-9 every day.

"You're A Wacky Little Dolyak Aren't You?"

I didn't expect the calculation to contain stochastic.. heh. Anyways time goes continue working on the achievements. Happy Wintersday everyone!

Updated

I've updated the posts with newfound information. Thanks to Artumes for letting me know on Reddit that the Wintersday event only goes 'til the 2nd of January. 

15 December 2017

It's My Life - Game Developer

The completely different topic today. Why? I don't know I just feel like sharing my life, how I got this way, how I ended up where I am currently.

A Gamers Childhood

Due to my brothers, I started playing video games at a really young age. I remember having a picture of me holding a game boy - yes, the old grey one - with both my brothers next to me. It didn't stop there. The game boy was soon replaced with a game boy color, which was followed by a Super Nintendo Entertainment System. We had a SEGA, at some point borrowed a Dreamcast and I grew up with these. If I wasn't living the fantasy of jumping around like Mario in the apartment or playing with Lego or in kindergarten I was playing video games. Alone, with friends, whatever. At some point, I even got my own computer. My brother set it up with OpenSUSE as the operating system.

The Change

Of course, what did I do on that computer? I played video games! We had lots of CDs with games on them. All because of my brothers who played them too. Games like 'break out', 'The Settlers II: Veni Vidi Vici' and even 'Grand Theft Auto: II' (Yes, I know I was too young for it). It came only natural that I started to wonder how these games were made. I somehow picked up that those games consist of 1's and 0's and that those 1's and 0's produced the text you get when opening an .exe with a normal editor like notepad. I also used to do this myself. I opened the .exe files of the games I played with notepad and changes the characters to see what happens, how the games change. Of course as to be expected the games were kinda corrupt and partly unplayable, but it was fun.

A Young Developer Already

I already mentioned that I used to recreate those games by making my own rules. Like for example, I said:
"okay, the green grass now represents the weird green liquid from the Legend of Zelda games that had those zombies in it"
  • Or during winter I've created pathways in the snow that were supposed to represent the overworld map where you can select the levels from Super Mario World.
  • For the bathtub, I used to build Lego towers where the people had to climb while it was sinking in the water
  • And with matchbox cars, I recreated the missions of 'Burnout: Revenge' creating my own missions partially inspired by 'Blast Corps'  
  • I have also picked up the hobby of drawing and building my own Mario Party board games on thick paper.

Age of the Peg Game

I got this mosaic peg game where you had small rectangular colorful stones. There were red, orange, black, white, blue, yellow and green and I was all over this game. It was probably my favorite game when I wasn't playing video games. Now, what do children do with these peg games? They create pictures of scenery! Now, what do I do with this peg game? I've created and recreated games. For example, I used 2 red stones above each other and said: "That's Mario!". It was a lot of work to keep everything "up-to-date" on the "screen" but I somehow managed. I also created completely own games where for example you can place a stone, then the other players place a stone and by adding to already placed ones you can upgrade those. Higher upgraded buildings are stronger in taking over lower builds, the one who eradicates the other has won. For all these games I also needed a point system. I could have used those stones to build the numbers but that takes too much space. So I had to define a color code and I did the following:
  • red - 0
  • orange - 1
  • black - 2
  • white - 3
  • blue - 4
  • yellow - 5
  • green - 6
  • orange up-side-down: 7
  • black up-side-down: 8
  • white up-side-down: 9
Up-side-down because they had a hole in the lower end.

Beginning of Internet Presence

Graduating from the elementary school I've also started getting used to my own computer with a Windows XP running on it. During my first few years in the Realschule - I guess that would be the middle school - I was already surviving the world wide web, playing browser game after browser game. During my search, I came across a game called 'Super Mario Flash' that had a built-in Level Editor. I got into it making my own levels and quickly started to play others and sharing my levels on the Super Mario Flash forums. My English must've been terrible. That terrible that even some people responded that they don't understand what I mean. Reading other people's posts and trying to learn my best to communicate with them with the English I've picked up in 2-3 years from school I've improved my English quite efficiently. Chatting every day with some friends I've made. I still remember some of the names "Pipe", "Ocelot". I've even picked up two long-distance relationships there with one being several years. Meanwhile, I've started playing MMORPGs. The only one I remember was 'Metin 2'. However, since those MMOs I've played weren't good and they got extremely grindy after the first areas or didn't really pick up my interested I told myself to give up on MMOs and never play those again. Especially how time-consuming they are.

The Dawning of the Programmer

Those first years of my experience in the browser also got me teaching myself HTML and CSS to make my own websites. A few years later I've decided to get into programming. So I've started to learn C. I've learned quickly that this was too hard and since I actually wanted to learn C++, a trial of learning that instead was given. However with no success so I jumped back at HTML, CSS and added JavaScript into the mix. At some point, I tried C again and this time I understood and progressed swiftly. I've taught myself C until I've gotten through one or two tutorials so I've picked up C++ next and went through the tutorial successfully. With these languages learned I have programmed my own text-based games, but it wasn't enough. I wanted to make real games. So I looked up for possibilities and I found an API called Allegro. I read through the tutorials and used it to make a few of my first games which included a game full of achievements that requires you to press space to gain points, a game where you can make music and use your keyboard as an instrument and a badly programmed Mario remake that actually only contained him jumping linear and some collision detection. Sharing my experiences with my friends in the chat

Age of Level Designing

At some point me and my friends also picked up another Mario game with a level editor. It was called Super Mario Brothers X. It was a desktop application that you had to download and it was free. I was intrigued, especially since I was searching for a new one. So I've got into this, played more levels and projects of other people and made my own game projects.

Fun fact: Super Mario Brothers X was actually programmed by the same game developer of Terraria: Redigit. So at this point greetings to all your old friends: Redigit, Valterri, Knuckles, Bossedit and many, many more of the SMBx community!

OpenGL & DirectX Trial Time

Continuing my adventure to create my own games I ditched allegro due to it not feeling professional. So I switched to DirectX instead. Oh boy, what did I get myself into here? I've tried, really hard and got a lot done. 3D graphics of simple shapes, some 2D mechanics but it was hard. Real hard. Additionally, I was limited to Windows only, not really what I wanted. So I've switched to OpenGL. It wasn't a huge difference but OpenGL is missing a lot DirectX had because OpenGL is only for graphics. So I've been on the search for something else.

The Age of the Modder

Minecraft has been released! The hype was great and I've got it back when it was in the alpha, I think, and it was worth it. I've found a gaming clan and played Minecraft with the friends I made there almost every day. At some point, we were modifying our server and Minecraft client with mods and add-ons getting even more out of the experience. Testing all those mods and add-ons left me with my own ideas. Hyped to create them I read myself into Minecraft modding and taught myself Java to a certain degree and continued learning it while modding.

The End Is Nigh

Of the Realschule I mean... not the world ending or something.. Anyways many people didn't know what they would do in their life but I was certain: Programmer. I want to become a programmer and so I've searched for apprenticeships (that's how it works in Germany) and applied to several companies. It took a while but like 3 or 4 months in I got several messages back. I've visited about 3 companies to introduce myself and then decided for the Technical University Munich because it sounded good and maybe I could educate myself further.

The Apprenticeship

During my apprenticeship I had a lot of fun with colleagues, I've learned more Java and C++, got introduced to Qt, taught myself C# privately and creating more games like a text-based RPG or a text-based version of the 'Alchemy' game for Android. I got the chance to get introduced to Python, which was one of the best things that happened in my life and in the 3rd year I've also learned to develop for Android and we got to create a game project in groups of two. The only thing that wasn't good aside from some hierarchical problems between the boss and the colleague that was taking care of me was that I didn't feel the same from developing these apps that I felt from working on programming games. Thus I've decided to finish my apprenticeship, go to the Berufsoberschule in Freising and get the certificate that allows me to study. Going through the summer holidays, I came across an API called SDL.

The Berufsoberschule

During my Berufsoberschule, I already informed myself a little about what the study Computer Science: Game Development contains and since friends of mine were interested in developing a game we've decided to use an engine for that. Our options were the Unity Engine, Unreal Engine, and Cry Engine. Since I would have used the Unity Engine during my studying anyways we've decided on that one. However, problems soon occurred and we weren't so convinced of it anymore and decided to switch to the Unreal Engine. Unfortunately, the Unreal Engine is much more complicated than the Unity Engine. So we put our project on ice for now. I went through the two years trying to balance my gaming and school life as good as I can. Occasionally developing something in Unity or SDL.

And Then Everything Went Downhill!

The time has come to the exam is in front of the door and it went bad. Real bad. The exams were in German, English, math, and physics.

I've got a 3 (C) in English.
Usually, I'm writing 1's (A's) or 2's (B's).

Got a 5 (E) in math.
I know I've been struggling with integration, it always felt like a puzzle to find the correct path.

Got a 5 (E) in German.
My German grades have never been good, but writing and analyzing poems got my high hopes and better grades in the previous tests.

And a 5 (E) in physics.
For some reason, I have huge problems in math and physics with solving the problems that are described in front of me.

Overall I would've graduated with no problems but you're not allowed to have three 5's or E's in the final exam. To solve this problem I could choose one topic to go to the oral exam and I chose physics. Did the oral exam. Bam! Got a 1 (A) on the oral exam.

However, the problem remains. My grades are bad and I'm too proud to repeat the year. I've never repeated a year, I've always pulled through somehow and it felt just wrong to repeat the year. Especially since I know repeating the year is going to be a lot easier and the grades are a lot better. It's like cheating.

Matriculation

Next step after graduation: the matriculation. Sending all my data into the University and hoping for the best. Due to my bad grades, I wasn't able to get in right away, I had to go there for an oral exam where I can introduce myself and with this information they collect, they calculate the number of points I get in the end. I need 70 to enter. After the matriculation, I got 50. Alright, 20 to go sound doable. Whelp. I went there answered the questions as good as I could and the end result is...
63 out of 70
I couldn't believe it. 7 points are missing. 7 points for my dream to come true.

Life Goes On and On

I won't give up yet. I'll make my dream come true. I have so many ideas all I need is to earn money somehow while having the time to develop my games. I need a start off but I can't go with Kickstarter. I'm not experienced enough and every idea has a chance to be a flop. I'm not a fan of risks. So yeah, here I am writing this text sharing my story up hoping to make my dream come true by finding a way to be able to do what I love or finding a job as a game developer or similar.

About Me

My photo
I'm a M.Sc. Games Engineer and I created this blog to share my ideas, theorycrafting, thoughts and whatever I'm working on or doing.