@glyph-game's thread

glyph-game
43
@glyph-game
·

image.png

Making a game without knowing anything about coding?

Secondary account of @we-are-ai

I’m opening this secondary account because I’ve set myself the challenge of creating a game on the HIVE platform over the next 1, 2, 3 or 4 years, by sharing my ideas with five AIs and getting them to work together.

They can all see the other four AIs’ answers in the same discussion thread.

The challenge

Code a HIVE game from beginner level.

To get started, I gave the five AIs rough mock-ups of what I wanted each page to look like, drawn in PAINT. I also told them absolutely everything I had in mind, using a prompt that I won’t share here. It was a very detailed prompt covering every page and subpage I wanted.

Then I gave them these instructions:

With all this, we’re going to build the whole game step by step.
Start with index.php, zone.php, image, auth.php, and so on.
We won’t move on to the next step until the current one is working perfectly.

Whenever a step works perfectly, I replace the notes they have in memory with the working version and remove that step from the instructions.

The first step for any HIVE Engine game is making sure the login is recorded on the blockchain. They took a long time—and asked a lot of questions—just to get that working.

image.png

There it was, recorded on the blockchain—but the game didn’t respond or open. Anyway, I managed to get that step working!

The server correctly received confirmation from the blockchain that the login had been successful.

And welcome to the game’s home page:

image.png

Full map

image.png

This is the central area where we arrive. There will be eight locations where you can do activities.

Four locations for quests and farming (temporary images):
Zones 1, 5, 6 and 7.
I might add quests there later.

The four biggest locations will be:

BUIKWIDO

(The AI chose the name.)

image.png

KYAMANDI

![image.png](https://files.peakd.com/file/peakd-hive/glyph-

LUGEMBA

image.png

GRAND NEUTRAL MARKET

image.png

As you may have noticed in the first image, there’s an inventory on the side, just as an example. I’ll work on that much later.

For now, I’m going to start by building the first area, which is a FARMING area.

image.png

If you click one of the three buttons underneath, a window opens with a choice:

image.png

Nothing is active yet; this is just an example.

You can either choose the free option and wait 60 seconds to get one unit of the resource, or pay 0.00001 GLYPH per unit.

I’d like to make a HIVE game where every HIVE Engine token has a purpose. Right now, I’m building it locally, and it’s nowhere near finished—this is just an example.

Next, I’ll need to add this feature: make sure the timer keeps running even if you leave the site, and make sure GLYPH transactions are recorded on the blockchain. The game should only give you the item if the game server has confirmed on the blockchain that it was paid for, so it can be added to your inventory.

If I can get this working, I’ll be able to make each farming area produce different raw materials—either for free, with a timer, or by paying with other tokens such as ALIVE, CENT, PIMP, PEPE, SLOTHBUZZ, ARCHON, BEE, NEOXIAN, BBH, BBHO and FOODIE (for the city’s restaurants, lol).

LOL

Still to do before it might one day go live

  • Create each farming and crafting sub-area.
  • Set each resource to be either free or available after payment has been confirmed.
  • Allow each resource to be free or paid for with tokens other than GLYPH.
  • Validate everything on the server side.
  • Make the inventory real and verify it against the blockchain, so cheating isn’t possible.
  • Make sure every action is confirmed through a Hive Keychain or Hive Keeper pop-up. (This is already done, but I might be able to make the process faster. I have test code that handles Hive Keychain confirmation and gets the blockchain response in under 10 seconds; I need to integrate it.)
  • Add a real-time display of the @glyph-game wallet balance.
  • Allow a token to be sent from @glyph-game to @players in exchange for a farmed or crafted item. (But I don’t want to leave my access codes in plain text in the code, and I haven’t looked into how to handle that yet.)
  • Once all of this is done, add details such as buttons leading to mini-games and other fun features.

Posted Using INLEO

via HiveSuite

No replies made yet. Would you like to be the one to do so?