Hexcity

A brainfuck puzzle game :smile:

a08dcdc2faa32812fa714b0136925ab0.png

The goal of HexCity is to amass the highest amount of score. Simple enough.

Score

Each building you place will increase your score by this amount :

House : -1

Farm : -1

Mine : 1

Wind turbine : 1

Factory : 2

Market : 3

Bank : 5

Rocket Silo : 8

Placing Requirements

Here where the challenge lives : To place a building you need to meet every requirement that the building has.

House : For a worker to live, he simply needs an adjacent farm in order to eat.

Farm : A farm can be placed anywhere, except next to another farm.

Mine and Wind turbine : Both need only an adjacent worker house.

Factory : A factory needs an adjacent worker house, wind turbine and mine.

Market : A market needs an adjacent worker house, wind turbine and factory.

Bank : A bank needs an adjacent worker house, wind turbine, mine and market.

Rocket : A rocket silo needs and adjacent worker house, wind turbine, factory and bank.

Special tiles

You may have noticed that there is different tile colors. These are :

Light green : Grass (Normal tile)

Blue : Water (You can't build on this tile)

Dark green : Forest (Double score tile, this means if you build a market you get 6 points instead of 3, but if you build a farm you get -2 score since it's originally -1)

Beige : Sand (No score is calculated on this tile, this means building something with low score on this tile is ideal).

Interested in trying the puzzle when I submit it?

Make sure to follow me on LD