Another project! This is one of the first game simulator I have tried to develop with Python. It’s basically a roulette simulator and has all the features a roulette should has, I guess!
Some notes:
-The roulette has only one zero (no double zero)
-Payoff are the same as a real roulette (no real money is involved, of course!)
-Outcomes should be uniformly distributed
-The graphics is not the best due to the fact that I used Easygui. Perhaps in the future I will implement the game with tkinter.
Here are the modules used:
-Random. The random module is necessary to simulate the random spin of the roulette.
-Easygui for the graphics. Easygui is a very simple module for user-interaction. I believe it is built on tkinter but has way less features. If you are new to GUI programming in Python I suggest starting with either tkinter or wxPython but not Easygui. Easygui is easier but not that useful nor customizable. On the contrary, the other two modules are harder to use for a new programmer but way more customizable and “complete”. Also the playability is somewhat ruined by the appearing and disappearing windows by Easygui.
You can download the source code here. Only to be run with Python.
Here are some screenshots.
Learn something from the stories of the people who lost millions of money in casino by visiting this link below.
ReplyDeletehttp://therightconnection.tv/blogs/84/173/most-popular-losers-in-the-history-of-casino-gambling
Roulette game is the well known casino game in the world. I am also a game lover and have my own Roulette Game App Developed by BR Softech.
ReplyDeleteAmazing content. Looking for a best online casino to play and earn real money then you are at the right place. Experts made a comprehensive list of best online casino in Indian rupee
ReplyDelete