Replies: 2 comments
-
Very cool! |
Beta Was this translation helpful? Give feedback.
0 replies
-
This sounds so good. Looking forward to giving it a closer look, and thinking about how to integrate! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is it?
Nara (Not A Robotic Animal) is a virtual pet game, built as a module for Meshtastic. You battle other nodes and win points.
The idea is to have fun while also encouraging people to join and grow the Meshtastic network.
Watch video here: https://youtu.be/MWfdFIDvkeY
nara.trailer.-.720p.mov
How to play?
All you have to do is enable the module and go outside!
How does the algorithm work?
The algorithm ensures fair play by using cryptographic hashes to determine winners, regardless of hardware differences.
First, both nodes exchange randomly generated numbers and start the battle.
Once numbers have been exchanged, they are combined to do a hash computation. The formula is:
Nodes will compute hashes, increasing the counter, until one of the following happens:
"123/456/4359109c/54633"
7724bec8bb34ae39a85af34402f4b4a08db7a8edd6d0230f166b014cc1950000
Once Naras find a matching counter, or give up searching, they'll message the other one letting them know of their counter. The counter is verified upon reception by the other node.
What are the next steps?
I'm sharing this project to see if there's potential in merging some form of this into the Meshtastic codebase.
Project status?
Currently, there's a working proof of concept. I'm at the point of getting community feedback before continuing developing this idea. The game could go in multiple different directions. I don't have experience with C++, so my code may need re-writing.
You can find the code here: master...eljojo:meshtastic-firmware:nara-module
Working features:
FAQ:
Other Ideas:
Requirements:
Beta Was this translation helpful? Give feedback.
All reactions