Heroic Fisticuffs!

Here's a place where I talk about games, applications, websites, and other things that I make for fun. Mostly roguelikes. And pirates. And robots. Since my domain is hard to spell you probably came here on purpose.

Hardpointe - How to play (so far)

You can play it here.


Hardpointe is a "medium" sized roguelike with a focus on tactical combat and movement. Managing a limited set of powers, upgrades, and items will be critical to your success.

Our Story So Far

Humanity is on the brink of annihilation. Ever since the robotic uprising of the late 1990s, humans have waged a bitter war against their would-be AI overlords. Many decades later, Earth is finally free of war, but elements of the robotic hordes have taken to space and have taken refuge in the asteroid belt.

For a time, many thought the robots dormant, or dead. But they were building. Utilizing self-replicating machinery, they turned countless asteroids into factories, crisscrossed with countless mazes and dungeon-like interiors. Some they turned into weapons, and began hurling them at Earth.

Only a few asteroids have penetrated Earth's defenses, but even these few have wiped out entire cities.

All efforts to attack and neutralize these strongholds have failed. Your mission is to succeed where others have failed. Infiltrate the asteroid, grab the AI Core, and bring it back safely. Your suit should be able to interface with any weapon systems that you find - human or robot. We cannot get close enough to reliably use our telewarp technology - so you will have to travel on foot. We may be able to link up to your suit at various beacon points. Look for warp crystals - the robots use them as much as we do.


WASD, Arrow Keys
Movement (4-directional)
Action (Wait, Pickup, Use Stairs, Activate)
1, 2, 3
Activate Power
eXamine (look around)
Heads Up Display
(cycle with movement keys)
Power Listing
(don’t really need this)

How to Play


For now, you can win by finding the "MacGuffin" and returning it to the exit that you started the game on. There are only 4 floors since the game is still rough and fairly unbalanced with all of the items and powers lying around.


You have limited health. (almost nothing in this game goes over 3) All attacks in the game do 1 damage, with one exception (a wall smash).


You have 3 power slots. You will come across powers during your mission - you can replace these with your current powers. You can also use them, dump them, and then go back and re-install your old powers. Some powers can be upgraded to make them more powerful. All powers come with a limited number of charges - but most are rechargeable.


You start with a shield power, but you don't need to keep it. Currently shields are pretty overpowered! When activated, you'll get 3 shield points added to your health. Eventually, some enemies may also have shields. Certain special EMP attacks can wipe out your shield.


You start with the dash power, which lets you move quickly across terrain to attack distant enemies. Just be careful putting yourself into harms way. Don't dash into a 2-hp enemy unless you've already hurt them - otherwise they are sure to attack you next turn.

Other Powers

There are a handful of other powers in the game at the moment - at varying degrees of usefulness. The Heavy Axe is a great ranged weapon. Cloak will make you temporarily invisible. Phasewalk will let you walk through walls (although not enemy fire - yet). Hack will turn enemies into allies.

Blasters (Weapons)

Blasters are weapons that take up power slots, but cannot be reloaded or recharged. They may have special effects like double damage, knockback, or stunning. 


You'll find lots of grenades lying around for some reason. You can carry them in your inventory and throw them. Some have special affects such as knockback, or stunning.


These are phials of tiny nanites. When thrown, they will begin to replicate and modify the surrounding terrain in mysterious ways. Some affects are beneficial to you, so be careful not to let your enemies take advantage of this. 


Forthcoming - you can use the HUD (z) or EXAMINE (x) to get an idea of what different enemies do. There are no 'vanilla' enemies.


Wall Smash

When you melee attack an enemy with a wall (or other solid terrain) behind them, your attacks will do 2 damage instead of one. This also works for dash attacks.


Any enemies with more than 2 health will leave wreckage behind. You can heave these into other enemies to do damage.

Blasters (Guns/Weapons)

You will find these one-off weapons during your mission. They are installed just like other powers, except they cannot be reloaded. Nothing stops you from swapping in a weapon (or two), using up all the ammo, and then swapping back. Great for taking out strategically difficult enemies.

Target Locks

Most ranged enemies require a target lock before they can fire. They will flash and turn a different color when they have targeted you. The HUD will also give them a special flag (shown below).

Unless stopped, they will fire and hit you on the next turn. You can interrupt this by making the enemy move, moving out of range, or destroying them.

Warp Crystals and Warp Beacons

You will find warp crystals scattered around the asteroid. These function both as fuel and encrypted locators for Warp Beacons. Using a Warp Beacon will always consume 1 crystal, and will not work unless you have one in your inventory.

Warp Beacons allow you to link back to home base, and acquire upgrades to your current powers. Or recharge them. You can also use them to restore health and also call in backup - home base will warp allies to your location. (currently they won't travel to different levels with you)

More to Come...

Welcome to my underground lair

Hardpointe is set on the asteroid lair of an evil robotic overlord - conveniently enough these lairs are surprisingly similar to dungeons. A bit.

Level design is the great time sink of every roguelike developer. I have a system that I've developed over the years (mostly for my 2014 7DRL dungeon dual) that I call the floorplan approach, which basically smashes a bunch of rectangles together. Once you have rectangles, you can easily convert them into rectangular rooms, or other shapes (cross-rooms, ovals, etc.) that will still fit within that bounding rectangle.

For Hardpointe, I have brushed off this algorithm and cleaned it up a bit to make it less wasteful. I am rather liking the results so far.

While level design is great, what I really want to get to is 'lock and key' style puzzle rooms. Think of the key rooms in brogue, or the linked challenges in Unexplored. Or zelda. In any event, Tom Ford did a lot of work around this in his 2014 7DRL TraumaRL and then did a great talk on his approach.

In order to accomplish this, I first needed a more intelligent level designer - one that kept track of separate rooms as if they were nodes on a graph. I had to brush off a part of my brain that hadn't been used since CS classes many years ago, but got a working tree structure that should suit my needs.

I used treant.js to display the resulting graphs.

This first one corresponds with the above dungeon output.

Red nodes/rooms represent the longest (or one of the longest) paths in the level. In most cases, the entrance point will be at the top of the tree and the ending point will be at the deepest node of the tree.

Gray nodes are flagged as "dead ends" in that they have only one connecting room. This makes them great candidates for locked rooms, special challenges (and rewards) that will give the player a reason to explore the entirety of the level, should they choose to.

Here are a few more because I like them:

Heads up

Finally have a working heads up display (HUD) - one of my requirements for releasing an actual playable version of the game. I really want to keep the screen as uncluttered as possible, but at the same time allow players to get the tactical information they need. In general, all monsters have 1 hp and the behaviors are unique, so there is a lot of information that should be conveyed just from playing a few times.

Other important things to know are status effects, and whatever items or unique terrain is near you. (e.g. is that radiation?)

The code to get this working was actually really fun to write.

Other things tackled this week were 'conveyed' flags. Certain powers can now convey flags such as flight, or radiation resistance. In earlier versions I was doing this quite messily - lots of room for error when power systems were being installed or uninstalled. Now it flows quite naturally.

This is important because at some point I plan on adding 'challenge rooms' that require you to sacrifice one of your power slots for an otherwise useless power. For example, there is a really amazing item inside the next system of rooms, but the rooms are irradiated. Fortunately, there is a system near-by that conveys radiation resistance - but you'll have to temporarily sacrifice something else in order to install it. What you choose to do away will may make the next couple rooms harder, depending on what's inside of them.

Development Update: Handling the environment as a proper actor

I may try doing some smaller updates as I typically code in short bursts these days.

Recent Progress:

Added doors! (Seems silly & was easy enough to do, I just didn't have them in there)

Targeting Locks
Target lock - ranged enemies with this setting now need an extra turn before they fire. This gives you a chance to somehow block or otherwise avoid the shot (force them to move is an easy way). Even with the symmetrical FOV changes I did last week, it still felt like ranged attacks were a bit overpowered. This new mechanic has a fun feel to it - and also differentiates monster difficulty. Now I can have 'easier' ranged enemies that require a target lock - in later levels you may run into enemies that don't. Another idea is to give ranged enemies other disadvantages such as being immobile (turrets).

Environmental Effects
This is mostly behind the scenes, but I added a special 'architect' actor, who acts on behalf of environmental effects (fire, gas, features that interact with player/monsters standing on them). Because my engine is event-based, it was getting a little kludgey to have terrain/feature effects work properly.

This makes more complicated scenarios much easier to deal with. For example, if you want to have differing speeds for the player at some point (e.g. a haste or slow effect) then you want to be sure the 'environment' is behaving. If a player is trying to escape some gas or fire, and somehow speeds themselves up to escape, the fire or gas should not speed up too! Conversely, if a player somehow slowed, the gas should overwhelm them more quickly than normal.

Eventually the architect will also control things like spreading nano-materials and timed explosives.

Actual game mechanics

Lots of tiny steps this week.

I decided to spend some time rebuilding my FOV algorithm, which made it so ranged enemies weren't quite so deadly. This had some knock-on effects that caused me to clean up some more of the AI and generic 'awareness' code behind the scenes. All in all, time well spent.

A main focus of hardpointe is tactical movement, and using the terrain to your advantage. To that end, there are ways for the player to actually create terrain, through various 'nano cores'. These are basically tubes of little nano-bots, and eventually their contents will be unknown to the player until they actually try them out (much like your traditional potions & scrolls). As a placeholder, affected tiles were simply a 5-square 'cross' centered on the point of impact. For the actual gameplay mechanic, I wanted something more interesting, but also predictable. I didn't want a quasi-random plume or cloud of gas. The mechanic I settled on follows a few simple rules:
1. always covers 5 tiles
2. always covers the target tile
3. only grows in cardinal directions, in order: up, down, left, right.
4. if any of these directions are blocked (by terrain, or existing nano-materials) it will stretch in the following direction

This allows the player to (somewhat) reliably create structures that will advantage them, and disadvantage enemies. For example, one of the nano-materials makes you invulnerable for 3 turns, but this affects anyone who steps on the tile - it does not discriminate between player or monster. Combine this with both negative and positive effects and you (hopefully) get some interesting gameplay.
Default spread

Corner limits spread in 2 of 4 directions

Hallways can give you a straight line

Surprisingly (or not surprisingly?) fun so far!

Importance of Symmetry

One of the many joys of roguelike development is getting your ass kicked by your own game! However, in my case some of the deaths to ranged enemies felt like cheating. All I would do is come around the corner and blammo -- dead. Was this an example of my own reckless play style? Or an actual bug in the game?

Turns out the problem was with my Field Of View (FOV) algorithm. Since I am using the amazing rot.js library, I had been using the default recursive shadowcasting field of view implementation. After poking around on roguebasin and re-reading Jice's awesome overview of FOV algorithms, I realized my problem is that my FOV was not symmetrical.

Now, depending on who you ask, symmetrical FOV may or may not matter. In a game with only 3 hit points, every shot counts. While I am loath to ever over-optimize, I felt it would be time well spent. I came across Albert Ford's implementation of a symmetrical recursive shadowcasting and ended up coding something similar in typescript. The end result is exactly what I wanted.

Before (Non-Symmetrical): This bot can see me, but I can't see him. Which means as soon as I step over, I'll be in range and get shot.

After (Symmetrical): Neither of us can see each other. In this case, the bot will move closer to the spot where he last saw me - sacrificing some range and giving me a chance to see him one turn before he can attack.

Initial gameplay coming together

Have been making steady progress on the core gameplay elements of hardpointe. I do feel like the end result is even a little bit.. fun? (Shocking to me most of all)

Here's a longer-play gif of the game in action, with slightly less-embarrassing colors.

Current feature list:

  • All six initial powers:
    • Shield
    • Heavy Axe
    • Booster/Charge Attack (was originally jet pack?)
    • Cloak
    • Phasewalk (not sure if this one will make the cut)
    • Hack (turn enemies into allies)
  • One-off weapons (take up power slots but limited/non-rechargeable ammo)
  • Various combat effects:
    • Stun
    • Knockback (concussive)
    • EMP blast (in progress)
  • Enemy behaviors:
    • Basic melee
    • Keeps distance (ranged attack)
    • Explodes on death
    • Attacks in packs
    • Uses / recharges shield (in progress)
  • Terrain:
    • Chasms (if knocked into one you or enemies drop to the next level)
  • Combat mechanics:
    • Wall-smash
    • Corpse-tossing (heave enemy remains into other enemies)
  • Items:
    • Grenades (simple damage & effects)
    • Nanotech Cores (effects like acid and health - so far)

Whew. Seems a lot longer when I type it out. Stay tuned.