Draft:Enraged Hydrocarbon

From Esolanging
Jump to navigationJump to search

Enraged Hydrocarbon is a programming game by User:AnalysisOfVariance in 2026. It is also user-edited, meaning you can add new mechanics to this game.

Rules

  • Put your modifications to the overview/resources/whatever sections in level 3 subheadings, for example if our decentralized underground insurgency were to make a change then they would add === [[User:Dragoneater67]] ===.
  • Do not remove things that are not yours.

Overview

There is a plane that is 16384x16384 units in size called the battlefield. The battlefield hosts fighters, which are programmed units tasked with surviving and killing other fighters.

The battlefield also has natural obstacles such as trees, rocks, hills, and mountains. Trees and rocks block movement and must be walked around while hills and mountains elevate entities, with mountains being way taller. Trees and rocks can be harvested for resources.

On initialization, two or more fighters are spawned in random points on the battlefield with a separating distance of at least 500 units.

Resources

This is the list of resources. This can be edited directly.

  • Wood
  • Leaves
  • Rock
  • Iron

Wood and leaves can be harvested from trees.

Rocks (the resource) and iron can be harvested from rocks and mountains.

Commands

Each fighter is programmed via a simple qualitree-based language.

Qualitree

A qualitree is a data structure that is a hybrid of a queue, stack, list, and tree.

Below is an example of what a qualitree looks like.

front |  0  |  1  |  2  |  3  | back
        / \   / \   / \   / \
        4 5   6 7   8 9  10 11

Example fighters