Progress etc. :)

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
User avatar
cookiez
Posts: 12
Joined: May 3rd, 2012, 6:16 pm

Progress etc. :)

Post by cookiez » June 17th, 2012, 3:13 pm

Hi guys!

So I haven't been here in a while because of exams and stuff. But I still managed to work my way through 17 of chili's lessons.

Here I wanted to share with you guys what I did as homework for the 17th lesson. Maybe someone of you can give me advice on how to code nicer/cleaner or someone finds mistakes in my code.

Thankful for every kind of criticism / advice.

Regards, cookiez. :)
Attachments
ObsceneName(Strings).rar
(120.51 KiB) Downloaded 293 times

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Progress etc. :)

Post by chili » June 23rd, 2012, 9:32 am

Hey cookiez, good work on the homework. I think it mostly works properly, but when I try and enter more than 2 digits for the number of dice, it says invalid characters, so you have a bug in there bro. ;)
Chili

User avatar
cookiez
Posts: 12
Joined: May 3rd, 2012, 6:16 pm

Re: Progress etc. :)

Post by cookiez » June 23rd, 2012, 6:10 pm

Thanks for the reply. I fixed the bug. It only occured when a digit of the number was a zero. I didn't have the zero covered in my switch-case for the StringToInt() for some reason...
Works fine now :)
Attachments
ObsceneName(Strings).rar
(177.49 KiB) Downloaded 262 times

Post Reply