#Tried making a coin flip betting program as a first program. How's it look?
28 messages · Page 1 of 1 (latest)
Are you looking for a code review or something specific?
review mostly
Does it work? If so then congrats!
Ight time to shred this code
- Not a fan of having the multiple
Console.WriteLine()calls instead of just using\nin the strings - Rest looks ok, what more can I say
😭 yeah i need to clean those bad habits it's so messy
but thank you! it took a couple hours to figure out 
Code looks okay though, can't really hate much
Except for the rainbow tabs
I really hate those
method names seem a bit weird
my naming conventions are shit definitely have to improve
Variable names are fine but like
CoinFlip() is a bit weird
MakeBet is fine, Game() is okay-ish I guess
I'd probably call CoinFlip something like PlaySingleRound idk
Could you use something other than a try catch inside the coin flip? Like checking user input for valid options using a loop.
Or having a funny function that can get a user input as int / whatever
If you rewrote that if statement you could only check for 1 condition. If not 1 then you know it’s 2.
But really I say it looks fine.
i did this earlier at the end of my little bootcamp class and forgot entirely when i got home, sorry!
but that chunk of code was a pain for me to figure out, but i could try to slim it down! might make it make more sense
and thank you 

sorry it makes my brain happy