The Tequila Den

Combines the world of Tequila with Games.

Monthly Archives: April 2018

Maybe I’m getting better?

After a small feat of accomplishment, (which I’ll tail into after), I’m getting the sense of pride, and well, feeling kind of smart. Maybe I’m just in the zone a bit, maybe I’m a bit more focused. Or, I’m actually learning from my mistakes and my common fuck-ups that I maybe, I actually might get JavaScript.

I basically re-implemented rolling to see who starts in Traders, and honestly, it took a little less than a couple of hours, and I was watching hockey in the process, so my time wasn’t overly productive. So I’m seeing this as a win. I’m also making huge leaps in remembering to throw new things through the log to see what’s going on, makes it a bit easier to track. I’m also working a bit smarter. Rather than trying to do everything at once, I’m doing things in chunks and using lots of comments. I find that if I’m going step to step, and seeing the interaction between player and server, I can easily see how the engine reacts and interprets the information.

Not to mention that my troubleshooting skills have greatly improved, even from a few weeks ago. I can already tell just by seeing an error and being able to pin point exactly what block I should start my search. I can credit this to my constant play testing, I’m running more tests and doing more specific tests to make sure anything new is fairly fail-safe.

I’m going to finish up a few things and clean up some of the debugging jarble and will be considering this as 2.0 release in the near future. I’ll re-visit the new additions to the game in a breakout post when it is released. This will be followed by a new docket list complete with ideas and dreams for a possible 3.0 in the deep future.

Advertisements

Maybe I can’t spell…

Ever stare blankly at a computer screen or a your cell phone and just go… that can’t be it. There’s no way it is spelled like that, looks so wrong. I’ve done this extensively the past few days, particularly with “supply”, “satisfied” and multiple variations of resources.

I’m bringing this up because combing through some code trying to decipher what the hell is going on and then re-working, re-writing and straight up WTF’s, all sometimes boil down to a simple, unnoticeable spelling mistake. Sphere can be a bit tricky sometimes in that regard, it usually catches it before you do, but with it’s object-orientated programming, it can get thrown to wayside. I almost cleared up the bank trade function completely again today until I ran through everything in detail and noticed that I missed a ‘u’ in “amount”. The only way I caught this because I was free running in the client and pushing resources out of scope and then noticed the bank acting horribly strange.

Fack. I wonder if I can enable spell check in notepad++? That might be a decent way to go, although, I hate to see how many other errors might pop up.

I’m debating to write a book. Which in theory is a crazy idea. Because I can’t plan worth a shit. But I feel like it may aid me in a few regards. For one, it’d force me to sit down, brainstorm and finally lay out the proper story I’ve been meaning to tell in Mouse. Once I have a start and a finish, I can either convert it to a book or to the game. I’m a huge fan of Star Wars expanded universe and curious to know the rules/legal BS that comes with writing to that genre. But that’s definitely not in the immediate forecast anytime soon. But just something I’ve always been interested in.

Clouded mind…

My heart instantly breaks for the people and families that have any ties to the Humboldt Broncos. Tragedy struck Friday and words can not describe anything that can be felt towards the situation. My thoughts and heart are full for you Humboldt.

Never gonna give you up…

Aside from being a catchy song from the late ’80’s, it’s a fairly decent motto to apply to certain situations, one of them being game development and the thirst for improvement. Although, a terrible one if you’re thinking about an ex, then I suggest trying something like “fly like an eagle” or in some instances, “hallelujah” might be a bit more fitting.

That’s an actual screenshot of traders, that is completely generated from the system. It’s also 100% functional.

So what does that mean?

I finished implementing gold mines to the game, so I can knock that one off the list, and head on down to the next one.

updated itinerary:
– Finish re-factoring
– Add more maps (~5)
– Boats
– Gold Mines
– Rolling to see who starts (axed it before 1.0, made it simply random to see who goes first)
–  Bank trade reworking (multiple demands/offers, smarter trades)
– Hot keys/short cuts
– Better number placements (avoid 6’s & 8’s near each other, and like numbers beside each other)

Features on the docket:
– Barbarian attack (Cities & Knights)
– discover-able land & Gain resource
– Cities & Knights play mode
– Columbus Point (Seafarers)
– Fixing numbers (MapMaker)
– Bots (AI)
– Real lobby

I’m going to change speeds a bit and work on adding more maps to the docket and refining the map maker a bit, making it a bit more versatile in some aspects. After adding a few more maps and cleaning the game up a bit, I’m going to work on adding some hot keys/shortcuts to make the games a bit hastier. After such is done, I’ll be re-implementing the roll to see who goes first followed by boats.

Then test…. then test. Then test some more.

Breaking…

First I want to rant off about the misuse of the phrase “Breaking”/”Breaking news” sort of deal. Maybe it is starting to be my old age, but a lot that is reported with this alerting headline is terribly misleading and not at all … breaking. It literally drives me up the wall, usually this occurs on twitter with a certain junior hockey team’s twitter account, it leans me towards the un-follow button, ugh.

Anyways, the real topic at hand, breaking, ha ha. It seems I’ve been doing more ill-will to Traders than actually making bounds of progress. I’m currently re-working the bank trade logic to be a lot smarter and to handle multiple demands from the player. I ended up crippling the system a little bit (I’m a bit rusty), then I coupled that with a few new maps, and of course some of those have pre-placed gold mines, I’m just kicking the game while it’s down. Also made an over sight when the map doesn’t have a desert the player can’t select the robber as technically it’s not on the board, so there’s another boo-boo.

Back to the grind… weeeeeee.