Hi everybody !
I programmed a little chance game for you guys. Lose your money at home, not in Vegas .I will describe the project in pieces and I will support the picture. Finally I will share with you the github url of the progeny.
Let's start !
Step 1
This application will be a windows form application, so we will create a padding.
Step 2
In this step I created an object named rnd from the random class for the game. I will use this object in the playground. Still, I wrote a little code to make the easy selection the first time the form was first loaded. I just modified the background color part of the form.
Step 3
In this step, the controls to be done when the play button is triggered are written. If you are playing in which mode in the meantime, intervals are given for the random number generator.
I added a few edits and an extra label field. I added buttons corresponding to the radio buttons next to it.
Step 4
the final version of the code block and its controls is what you see in the echo.
a few images from the game
extensions I use for images
joistik play :https://www.flaticon.com/free-icon/joystick_188144#term=joystick&page=2&position=56
night mode 1: https://www.flaticon.com/free-icon/night_624106#term=night&page=1&position=56
day mode :https://www.flaticon.com/free-icon/sun_169367#term=sun&page=1&position=6
easy mode : https://www.flaticon.com/free-icon/battery_148872#term=level&page=1&position=39
medium :https://www.flaticon.com/free-icon/battery_148870#term=level&page=1&position=36
hard mode: https://www.flaticon.com/free-icon/battery_148869#term=level&page=1&position=35
Finally, the project is open source on GitHub.
https://github.com/uaperk/LuckySeven
to discuss in new projects and applications...
Congratulations @hoary! You have received a personal award!
1 Year on Steemit
Click on the badge to view your Board of Honor.
Do not miss the last post from @steemitboard:
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @hoary! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit