Create a small game in which the player (i.e., the user) starts with 100
SEK (Swedish crowns) and may bet on a series of coin tosses.
The player starts by betting a number of SEK within his budget and then chooses to bet on
either heads or tails for the next toss. After the player has placed his bet, the program will
simulate a coin toss and present the result for the player. If the toss was in line with the
player’s bet, the player wins as much money as was betted, but if the toss resulted in the
opposite, the player instead loses his bet.
The player may quit the game at any time by betting 0 SEK. If the game is quit, the final
amount of SEK that the player had should be written to the screen. The game is also over if
the player runs out of money.
Below is an example run of the program for you to get an idea of how it may look. The
program does not have to look exactly like in the example.
Hello,
I have 30 years experience programming in C. I will create this program in C to simulate a program tossing a coin. The inputs and actions shall all be text driven (no graphics).
A milestone payment for the full budget for your project must be deposited with this site before your offer can be accepted.
Alan Idler
Chief Software Architect
Idleswell Software Creations
I've a very good experience using multiple programming languages, and with different algorithms, I will finish this as soon as possible and with best quality
Hejsan, jag gör gärna detta för dig. Är främst intresserad av en review, därför biddar jag så lågt jag kan.
Hur som helst så kan jag göra detta både i C och C++. Valet är upp till dig :)
Och jag funderade lite på ifall språken (engelska/svenska) spelade roll för dig, för kod kommentarer + vad "dealern" säger?
För övrigt antar jag att detta ska bara va en simpel IO console program, ingen grafik.
I have done training in c programming language and I can say I am good at it. I made tic toe toe game using c as my project too. I am sure I will finish your work in time.