Game Design, Programming and running a one-man games business…

Maintenance & breakdowns in Production Line

For a long while I have talked-the-talk about putting slot breakdowns into Production Line, but recently I’ve actually been doing the code, and I now have a working implementation in the game, ready for imminent release to the unstable build on steam, and eventually the full early-access alpha build. The implementation is fairly simple to describe. basically slots break down for a random duration between X and Y, and you can research and then place down maintenance facilities that vastly reduce that repair duration so that the line is stopped for a shorter period.  The maintenance facilities UI has two different circles that illustrate the two levels at which they can reduce repair times.
Thats all very simple, but coding it was harder than it sounds, combined with the fact that it needed some tutorial pop-ups, and it needed a GUI that looked nice and was also clear and usable. All of that is done, and I’m happy with it, so all it comes down to now is a simple case of getting the numbers right. In a game like Production Line, the numbers you set for items are basically the WHOLE game, in terms of long term playability. I can wreck the game immediately by getting these numbers wrong, or less drastically, I can make this new feature and all the work that went into it irrelevant if the numbers are wrong in the opposite direction In an ideal world, the breakdowns introduce just the right amount of complexity, and light-frustration which keeps the game interesting and something that demands the players attention, while the maintenance facilities provide just the right solution, which should come at a price, and with interesting trade-offs. To put it another way: If the breakdowns are no big deal, the maintenance is irrelevant. If they cause mayhem despite maintenance, they make the game worse. Meanwhile if maintenance is too cheap and easy to place, its irrelevant as a decision. Too expensive or difficult and its going to be annoying.
There is no real easy way to pick these numbers, they just have to be experimented with. Right mow, the chance of any slot breaking down after completing a task is 1 in 200. The time it takes (in seconds at 1x speed) to fix them is between  24 and 48 seconds. That time is reduced by either 37.5% or 75% depending how close the nearest maintenance slot is. The slot itself costs $98,800 to place, and requires 8 engineers which cost slightly more per hour than a scientist (researcher). Power draw for the slot is equivalent to most other manufacturing slots, and its footprint is 4×4. All of those numbers MIGHT be wrong. Maybe the slot is too cheap, maybe we need more (or less) engineers to adjust the ongoing cost of maintenance? Perhaps the breakdowns are too frequent and annoying? or maybe so rare, and so cheaply fixed by spamming maintenance that the mechanic becomes irrelevant? Hopefully none of the above! and I also think that the fact that maintenance requires research, and has an area-of-effect mechanic will add new interest to factory layouts, both in preventing sprawl (which works against the mechanic) and also ensuring the expert player leaves regular areas for future maintenance facilities that they cannot yet afford, or have not researched. Expect to see this in the next update for the game, and I hope people agree it makes things a bit more realistic and interesting.

Solar Update

Since I got a new inverter, I have far better logging of the power output of my solar panels, even on my phone :D

I have a pretty small, 2.1kwp (10 panel) ground mount array in my driveway. Its partially shaded at certain points of the day and year, far from ideal. Nevertheless it looks like we are producing about 44% of our August energy consumption from our solar panels.

Thats better than it sounds, because our electrical consumption is relatively high due to

a) Working from home

b) Having an induction hob electric cooker and

c) Having an electric car that charges from home.

We use about 514kwh of energy in August, our peak is about 800 which is January, and probably due to some electric heating in certain rooms, and more hot food I guess.   If we had a new house, with better insulation (this one is insulated as much as it can be given its structure), and larger rooftop solar with zero shading, I reckon we could probably hit 100% renewable in the summer months. Why new-build homes are not mandated to include solar panels is a mystery to me. Its just such an obvious thing to do.

How can these stats about apple possibly be real?

I will never understand the obsession that modern companies have with reducing headcount. Its almost pathological. I totally understand that the marketplace can be competitive and that sometimes you need to cut costs, but this obsession with not employing any humans hits the hardest with companies that quite definitely have the available cash to take on a few extra staff.

The nature of may business (very long established one-man biz, set in a remote rural location, lots of legacy code, home-brew engine) makes hiring people very difficult, purely for practical and technical reasons. I am definitely not opposed to hiring people, and I actually think I’d feel really good about it. Every month I have to pay out royalty checks to 3 different people, and also pay at least one contractor, and it doesn’t feel bad, it feels GOOD, knowing that I’m contributing to the wider economy, and improving other peoples standards of living by creating employment. In some cases, those payments can help kick-start other small businesses who then employ people, and thats just awesome. Isn’t this the sort of thing we are supposed to be proud of as entrepreneurs?

To see whether or not you fall into the category of business owners who are really not doing their bit, take this simple test:

  1. Is it technically difficult, or practically difficult for you to hire new staff for some reason? If so, then I’ll let you off.
  2. Check your profit margin. is it less than 5%? are your company finances looking shaky? are profits falling dramatically? If so, then I’ll let you off.
  3. When you call the phone number for your company as a customer, do you get through to a real live human within 15 seconds? If so, then I’ll let you off.
  4. If you email your company as a customer with a technical support or customer services request, do you hear back from a human within one day? If so, then I’ll let you off.

I’m guessing this still leaves a very large number of businesses who could be doing amazing things employment wise, who instead are sitting on money in a bank and twiddling their thumbs.

Apples current cash hoard is 267 billion dollars. Their profit margin is 21.63%. I’m guessing that you cant phone up and speak directly to an apple customer service person right now, anywhere in the world. Why on earth not? (I just tried…and its a slow, irritating computer voice…to save hiring enough people…). The current total apple workforce is 123,000 people.

So the cash on hand for apple would allow them to give every single employee a windfall payment of $2,170731.

Yup, I had to check that several times to ensure its correct because it absolutely fucking cannot be. They can make every single employee of the company a dollar millionaire twice over. Or they could just spend HALF their current *cash* and make them all dollar millionaires. Lets look at it another way. The average salary in the US in the bay area tech firms is $142,000. Lets almost double that (yeah right) to account for employment costs, office space etc, and call it $0.25 million per employee per year.

Apple could afford to hire one million and 68 thousand tech workers for a year and still not burn through its entire cash hoard.

Or to put it another way, assuming all 123k people earn that crazy bay area salary, apple could double its current workforce, have them all sit on their ass doing absolutely nothing all day, and it would still take 8 years for the resulting cash drain to wipe out their *current* cash mountain.

PLEASE someone tell me my sums are wrong because they MUST be right? It couldn’t possibly be the case that despite Tim Cook being a ‘nice guy’ the first openly gay tech CEO who is trendy and right-on, and popular and seemingly one of the good guys, that he would rather sit on that vast obscene pile of capital and not spend a penny of it on increasing the workforce or improving the income of apples employees? Surely that would not be the case, Especially as Donald trumps recent tax changes are apparently designed to boost employment?

And of course, lets not forget that in the very home of tech-financial excess, San Francisco, there is a MAJOR homelessness problem. Its actually truly shocking. Apple could fix this out of their spare change. In the UK today there was an announced plan to completely eradicate rough sleeping which was put at costing £100 million. Say it should be £200 million instead, which is $260 million, and this would be for ONE city not a country. Apple could do that with one thousandth of its cash hoard.

These companies are not innovators who are making our lives better. They are like pharaohs and emperors treating the rest of us like peasants, beneath their contempt, not even worth saving.

 

EGX helper needed

I NEED HELP.

Or to put it more accurately, me and Jeff need help. We are showing off Production Line at EGX, the trade show in Birmingham UK on these dates:

20-23rd September 2018.

Its a big show, the UKs biggest by far, and has a ton of stuff showing there, including production Line (wahey!). We have a little booth with 2 PCs, and have to man it all day for 4 days. I cannot even be there the first day because I have such an amazingly busy social life, but will be there the remaining 3, as will my padawan Jeff (of Democracy 3:Africa coding fame).

The trouble is:    I HATE MANNING A BOOTH. Because I’m far too introverted, but I know I have to ‘be there’ to talk to people now and then, so I tend to be there ‘a bit’ and then wander off and seek solace in dark corners to muse on the existential pointlessness of it all. because we always need one person at the booth, and even Jeff has to eat and get coffee and lie down now and then, we need someone to come help us out part time. Is this you?

Ideal candidate would be 18+, an indie developer themselves who lives in Birmingham and would like to go to EGX for free, plus earn some moneys. (probably not a sack of money, maybe a small bag?). Obviously you have to be available on the dates given. The show is from 10am-6pm every day apart from Friday and Saturday when its 7PM. I dont need someone every day for the whole day, we can work out some rota where one or more of us slink off early or start late each day. I never need 3 people at the booth, frankly I only NEED one, but will often have two.

What I need you to do:

Just *be* at the booth, and keep an eye on it, make sure nobody swipes my cool miniature car and robot arms, and that if the PCs crash, or the games crash, reboot the PC/restart the game. I will give you a free copy of the game which you need to play for a good few hours before the show so you can answer any really basic questions people have. If press show up and need me, and somehow neither me or Jeff are there, you need to phone or email me or give them my details. Its not exactly hard work, by any stretch, and it gives you plenty of free time to wander around the show and see cool stuff. Also if you are an indie dev who has not manned a booth before, its a great way to see what its like at somebody else’s expense.

YOU NEED TO BE ABLE TO GET TO/FROM THE SHOW EACH DAY. In practice, you need to be living close to Birmingham. The NEC is REALLY easy to get to, and its not in central Birmingham. Obviously you need to be a nice person, and happy to talk nicely to the general public who may approach you and ask for help. I genuinely dont give a fuck what your gender/age/height/race/shoe size is. Ideally you look more motivated than this guy:

IS THIS YOU?

If so, can you email me at cliff At positech dot co dot uk, and tell me a bit about yourself, and how many of my vast list of criteria you meet?

THANKS :D

 

Positech African School #2 update

Previous discussion of this school can be found here:

https://www.positech.co.uk/cliffsblog/category/school/

I just got an update from our charity partner ‘Building Schools For Africa’ which includes some awesome photos showing the construction of the second school in Cameroon. It looks like they have hit a pause whilst certain foundation things settle before finishing off the rest of it. Enjoy these pics :D (Crap photo quality and layout due to fairly shaky source material and pdf form…)

No real game news to speak of as I literally got off a plane a few hours ago. Life will return to its usual pace tomorrow.