Some feedback please

Status
Not open for further replies.

Magma

Baseband Member
Messages
53
Author: Magma

Version: 1.0

Description: This is a small console game for windows that allows the user to watch mini horse races over and over. These horses happen to be a happy Face.

Download: http://www.mysticmagma.com/code/Horse Race.exe


i just want some feed back on what you think, this is my first program i have made and i would like to know what you think.

Also

Author: Magma

Version: 1.0

Description: This is a small console game for windows that allows the user to play black jack 21 with basic options and rules

Download: http://www.mysticmagma.com/code/blackjack2.exe

dont worry about bandwidth issues, the programs are less than 2mb and i have unlimted bandwidth with my host.

Thank you!
 

þÄ®âÐÖx

the flaming hermit
Messages
950
Not bad for a first program, but like Shroud said the error handling isn't that great. For example, at the prompt "Would you like to hit or stay? (H/S):" if you enter anything but H or S the program just screws up. Generally you would make allowances for this in your code so that if someone pressed "i" by accident the program would say "Please enter H or S" or something like that.

Other than that, nice work - keep at it! :)
 

Magma

Baseband Member
Messages
53
o thats right! i fogot the
Code:
(Answer!='h') || (Answer!='H')||(Answer!='s')||(Answer!='S')
DUH!
 

MM

Solid State Member
Messages
15
Magma said:
o thats right! i fogot the
Code:
(Answer!='h') || (Answer!='H')||(Answer!='s')||(Answer!='S')
Code:
((toupper(Answer)!='H') && (toupper(Answer)!='S'))
 

Magma

Baseband Member
Messages
53
thats to far out for me :p

we useing the LVP libarys for this so its pretty old
 
Status
Not open for further replies.
Top