__________     __ __     __  _______    ________
  / ____/ __ \   / // /    / / / /  _/ |  / / ____/
 / / __/ / / /  / // /_   / /_/ // / | | / / __/
/ /_/ / /_/ /  /__  __/  / __  // /  | |/ / /___
\____/\____/     /_/    /_/ /_/___/  |___/_____/

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

Dev Vlog #1: Battle History

BY: @gamesontheblock | CREATED: March 22, 2025, 12:44 p.m. | VOTES: 3 | PAYOUT: $0.00 | [ VOTE ]

https://youtu.be/ujujUD2hwJ4

This is part of the Games on the Block dev vlog series, where I show you my daily progress on the game.

Battle History Implementation

Today, I worked on Battle Histories.

Before this update, if you played a battle, you could see what happened and check the rewards, but once you left the screen, the battle was gone. There was no way to review past battles, show a friend something cool, or analyze how you defeated a specific enemy.

This was also a problem for us internally. If a bug occurred or something unusual happened, we had no way to go back and investigate what went wrong.

We previously tried to replicate battle history in the training grounds, but having a proper replay system is far more convenient.

[IMAGE: https://files.peakd.com/file/peakd-hive/gamesontheblock/23swiXApdtYu3mWyhmU2aQ2cusz9fDht5MhdNwVipMrhcgyTzjXbeNcu9v7RdSfstgrkC.png]

New Battle History System

Now, we have a history log where you can:

Database Considerations

I didn’t implement all of this in a single day—the database design took time. I had to research storage solutions and decide on the best approach.

Right now, the PVE battle history is stored in a database. Currently, we have 10 battles, each averaging 79 KB in size. This may seem small, but as more players join and play hundreds of battles daily, storage usage will grow rapidly.

Cloud storage is expensive, so we had to make some decisions:

Upcoming Features

A couple of features are still missing:

  1. Share & Report Buttons:
    • A "Report" button to send battle details directly to us for debugging.
    • A "Share" button to allow players to send battle replays to friends.
  2. Expanding to Other Battle Types:
    • Currently, this is only for PVE battles.
    • Later, we’ll add support for PVP, Arena, and custom battles with separate history tabs.

Conclusion

This was an important update, and I hope to keep sharing progress whenever there’s a significant improvement. Hopefully, that means daily updates!

Thanks and see you tomorrow!

TAGS: [ #gamesontheblock ] [ #web3gaming ] [ #okko ] [ #games ] [ #gaming ] [ #play2earn ]

Replies

NO REPLIES FOUND.

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>