Playing Apis


Admittedly, Apis is a very open ended and offers no tutorial. Starting the game, you are given no clue how to play or even what to do. You are greeted (if "greeted" is the right work here, probably not) with "Hello Hive" and the text output of the API startup. Nothing that looks like a game for sure. I'm hoping the allure of the game is the challenge of figuring out how to play.

Some spoilers follow.

Included in the game zip is a PowerShell script called "beehive-test.ps1". This gives you a lot of help in figuring out the game and playing it. If you are not familiar with how to interact with an API, the script has functions that will do the talking for you. I won't explain all the functions in the post, but maybe one of them. For example, there is the "LayEggs" function. The LayEggs function tells the queen to lay a quantity of eggs. Near the end of the script, there is a line "LayEggs 1". This tells the queen to lay 1 egg. There are some hidden mechanics to the game. With egg laying, the queen is limited to lay as many eggs as there are drones.

The PowerShell script is a start to show you some basics. After figuring out some of the hidden game mechanics, it shouldn't be too difficult to rapidly grow your beehive. You don't have to use this script, or PowerShell. You can use your favorite language, or even something like Postman.

If you would like hints, or have questions about the game, please leave a comment and I'll try to help.

Files

Apis_v0.2.zip 98 kB
Sep 30, 2020

Get Apis: the beehive programming game

Comments

Log in with itch.io to leave a comment.

Very nice, great job!

Maybe something to attach more queens?  :D

Why do you suddenly die having 0 of everything?

Maybe remove the test, I just used it (and TL;DR... should have played it 'the' nice way)..

(+1)

They die because they don’t have enough honey. Make sure the workers gather as much honey as they can. The test script alone won’t get you too far, you’ll need to modify it or make your own script.