Computer Science Canada

Simple Math Flash Card Game

Author:  Beastinonyou [ Thu Sep 29, 2011 10:21 pm ]
Post subject:  Simple Math Flash Card Game

Second assignment of the new semester (1st assignment to be actually graded, as first was a refresher), was a simple Math Flash Card game intended for use by Elementary Students (little kids, so nothing too complicated)

I've spent a couple hours coming in Photoshop CS5 to create my images used.

Had assignment for about 2 weeks tomorrow, which is when it is due. =).

feedback and tips are greatly appreciated. This is my second semester programming in Turing.

Author:  Zren [ Fri Sep 30, 2011 12:51 am ]
Post subject:  RE:Simple Math Flash Card Game

Why're all your images 50x the size they need to be?

When settings the size of your window, the width/height is the size of your canvas. That excludes the pixels required by the Operating Systems title bars / window frame. Don't forget the taskbar. So setting the canvas as the size of the entire screen isn't the best idea.

The taskbar is around ~30 pixels high in Windows, and the title bar is around the same. The borders are no more than 10 pixels wide (each) probably.

Reason I'm mentioning this is because I loath overflow scrollbars.

Author:  Tony [ Fri Sep 30, 2011 1:04 am ]
Post subject:  RE:Simple Math Flash Card Game

I loath the mix of spaces and tabs for the indentation. It makes thing look broken until I figure out just how wide your tabs are.

Author:  Beastinonyou [ Fri Sep 30, 2011 6:39 am ]
Post subject:  Re: Simple Math Flash Card Game

yea, I forgot to crop the images down, because when I made the buttons, I started very large, and once I was done, I just scaled them down. It's always better to work big, then scale down, for better quality image, rather than scaling up. Once I saw your post, I Cropped them down, which took not even 5 minutes. Better for when I hand it in later at 1pm


I didn't worry much about spacing the numbers on the cards, which really just comes down to how many characters are in the number they enter, max of 3 numbers for decimals, etc. I'm assuming I would have to check how many characters are in the string they enter, and depending on the size, space them accordingly to make it look better.


: