Another day working from home and tomorrow is the start of another World Cup night shifts period. Tonight I didn't want to do any coding so went to see what I could do and stumble upon an ad for Street Fighter IV CE for iOS. But I didn't want to spend any money at the moment so I downloaded Contest of Champions by Marvel instead.
The game
I usually don't play. I would probably download a game once in a year or so, play it a little bit an delete it after few days. This game is probably going to be the same. The only game I played for almost two years was Ingress the ancestor of Pokemon GO. I liked Ingress because it requires you to go out, I mean physically, to play. You can not play from your home (unless cheating) because the game relies on your geographic locations and you would interact with the representation of real-life objects.
My first time playing at Street Fighter was when I was a teenager, back in New Caledonia. I used to go to those arcades centers and when I went to high school, there was a cafe right in front of the school that has those arcades machines. I spent almost every lunchtime wasting my pocket money on the games 🤣. It was fun, I was a decent player and I made a lot of friends during those times. My favourite characters were Guile and Ryu.
But anyway, I didn't want to spend money in a game that will only last few days and of which I'm not sure if it will be as good as the original. So there I was playing with Spiderman and Wolverine. I'm not a game reviewer, so I'll spare you of my BS lol. For a free game (with in-game purchases, obviously), it is very playable and I enjoyed it. I felt it was too easy but maybe it's because I didn't go far enough yet. Things are getting repetitive so I got bored after 45 minutes.
The new bot
The new bot is a leveling-up bot for Discord. You know, like Tatsumaki. Tatsumaki is very popular so why not use it? Well I want to learn. The main challenges were:
- Find a way to level up, how to define levels based on XP that users will earn
- How to generate a custom badge/banner with the user's avatar, name and stats.
- How to upload that banner image to a Discord channel.
For the level up, after reading few articles on how RPG games use XP to calculate levels, I started to code my implementation of it and it looks pretty good. You only need few XP to start leveling up and it will get more difficult as level increases.
Generating an image from the bot itself was easier than I thought. The bot is written with Javascript and run by Node JS. There is a module called node-gd and I'm used to GD with PHP so the transition was easy for me.
Uploading the image to Discord was slightly trickier because I didn't know the DiscordJS library that much and I had to dig through documentations and examples found on Google. But all seem good for now.
I will not tell more about this until the project is stable and running.
Related content
 | Do more on Steem |
---|---|
![]() | On Steem, Witnesses are playing the important role of providing a performant and safe network for all of us. You have the power to choose 30 trusty witnesses to package transactions and sign the blocks that will go in the Steem blockchain. Vote for me via SteemConnect to help me do more useful projects for the community. |
![]() | Join me on Homesteaders Online's Discord |
![]() | If you are Australian (even abroad), join #teamaustralia! |
Credits
- The image at the top has been generated with the Canva app using my own photo.
Protect your money against Phishing Scam!
Cryptos accounts are the target of international scammers because they want your hard earned money!
Those people are very clever and in a moment of inattention, you've given them your login and password!
I've created a Chrome extension that can help you detecting scam links!
Install Steemed Phish Chrome desktop browser extension now!
Password and Private Keys security
You all know that your Steem password is the access to all your STEEM, SBD, posting, transferring, everything... right?
So, please, follow these simple steps and keep yourself safe:
- Apart from the initial setup of your account, NEVER use your password ANYWHERE, if stolen, it will give full control to your Steem account.
- Backup your password and keep it somewhere safe. Use a password manager like Lastpass, print it on paper and put it in a safe (no kidding). If you forget your password, no one can help you out.
- To login for creating content and curating, use your Private Posting Key
- To make transfers and account operations, use your Private Active Key
- To encrypt and decrypt memos, use your Private Memo Key