Difference between revisions of "Assessment 2008 Hard"

From Progzoo
Jump to: navigation, search
(Ludo)
(Cards)
Line 118: Line 118:
 
static void drawFlag(Graphics2D g){
 
static void drawFlag(Graphics2D g){
 
   BufferedImage img= new BufferedImage(448,270,
 
   BufferedImage img= new BufferedImage(448,270,
       BufferedImage.TYPE_INT_ARGB);
+
       BufferedImage.TYPE_INT_ARGB);  
 
   try{
 
   try{
 
     img = (BufferedImage)ImageIO.read(new File("cards.png"));
 
     img = (BufferedImage)ImageIO.read(new File("cards.png"));

Revision as of 01:04, 15 October 2008

Fanorona

Fanorona
  • The separation is 20
  • The disks have radius 6
  • The background is 184x104
  • The blue is 64,64,255


[Font] [Default] [Show] [Resize] [History] [Profile]

Snakes and Ladders

Snakes and Ladders
  • The squares are 24
  • The background is 241x241


[Font] [Default] [Show] [Resize] [History] [Profile]

Ludo

Ludo
  • The background is 256x256
  • The gray is 228, 228, 228


[Font] [Default] [Show] [Resize] [History] [Profile]

Cards

  • The background is 448x270
  • The cards are 40 by 60
  • The radius of the rounded corners is 8
  • There is a gap of 4 between the cards
  • Each suit image (e.g. clubs.png) is 16x16
  • The corner image is 13x20 from the centre of the card
Deck of Cards


[Font] [Default] [Show] [Resize] [History] [Profile]

Monopoly

This is a large image and takes too much memory on the the progzoo system. Please use Dr Java or similar.

  • The width of each property is 85
  • The background is 1040x1040
  • You should use strings in the array


Monopoly.png

[Font] [Default] [Show] [Resize] [History] [Profile]