[ANN] Introducing Steem Games And It's First Game Steem Cricket
Welcome, Lately I was working on couple of different projects and one of those projects is Steem Games which isn't completed yet but I have started working of it. Steem Games will be basically arcade section of Steem Blockchain where you can earn rewards and have fun. The first game of this project is Steem Cricket which I was inspired by . I know him because that was the username I wanted at first but someone took it before me and I started checking his profile and I saw couple of good projects but they were not open source and he was clearly not maintaining them so I thought of making my own version of that!
What Is The Steem Games About?
The main project is Steem Games and the first game of Steem Games is Steem Cricket. This project of mine is in very early age and I hope to it will improve over time. I plan on making a whole website based on games related Steem. I haven't made a website yet but I am working on it, I want to make few games before launching official website for steem games.
What Is The Steem Cricket About?
By using my code of Steem Cricket people can literally hire virtual team of 11 players and play virtual cricket match against each other, or it is fantasy cricket as some people will like to call it. The bot is made to be 100% fair and batting and bowling mechanism will be discussed later in this post. If you don't know cricket rules, you can check this website. This is perfect game built on Steem Blockchain for cricket lovers. Both managers can have fun while earning some money.
How Does It Work?
Steem Cricket can be used in fantasy cricket tournament and also can be used in single matches and there is also a reward system in place. You can set a entry fee let's think it is 5 steem for now you can easily change it) so for two team it will become 10 steem and 70% of the total bounty will be given to winning team plus there will be additional rewards for run made in match. All the rewards are distributed automatically!
How Does Batting And Bowling Mechanisms?
This bot is made in Python. There is continuously a while loop running in the background and is choosing one number from the variable like below and then by the help of of random module we can make python to select one number from the list and this process is completely random and I can't control it. Here's the code that does this
random_number = [1, 1, 2, 2, 3, 3, 4, 4, 0 , 6]
random_run = random_number[randint(0, 9)]
You have 10% chance of getting out on each ball, 10% for hitting six, 20% chance of hitting 4, 3, 2 and 1 on one ball.
How To Set It Up?
Setting up this project is very and all you have to do is set up some variables according to your needs and run it, that's it bot will automatically make post, comment, post updates, make batsmen bat, and distribute the rewards!
Technology Stack
This bot was made purely in Python and used some modules listed below:
- Steem
- Random
- Time
Roadmap
This roadmap is about Steem Games in general not just about Steem Cricket.
- Making a GUI for Steem Cricket
- Making a website for Steem Games
- Adding more features to Steem Cricket
- Making more games for Steem Games
- Improving code of Steem Cricket
How to contribute, my Github account and Github repository?
I would love some suggestion towards making my project better!
Github Account
Github Repository