Difference between revisions of "Assessment 2008 Easy"

From Progzoo
Jump to: navigation, search
(Naughts and Crosses)
(Chess)
Line 60: Line 60:
 
   BufferedImage img= new BufferedImage(200,200,
 
   BufferedImage img= new BufferedImage(200,200,
 
       BufferedImage.TYPE_INT_ARGB);
 
       BufferedImage.TYPE_INT_ARGB);
   try{
+
   try{  
 
     img = (BufferedImage)ImageIO.read(new File("chess.png"));
 
     img = (BufferedImage)ImageIO.read(new File("chess.png"));
 
     g.drawImage(img,0,0,null);
 
     g.drawImage(img,0,0,null);
Line 67: Line 67:
 
</answer>
 
</answer>
 
</question>
 
</question>
 
  
 
==Go==
 
==Go==

Revision as of 13:39, 21 October 2008

Noughts and Crosses

Naughts and Crosses
  • The lines use rounded end-caps (see Drawing_Lines)
  • The lines have thickness 10
  • Each line is 150
  • The background is 200x200


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

Chess

Simple Chess Board
  • The background is 160x160


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

Go

Go
  • The board color is 220,179,92
  • There are 19 lines across and 19 down
  • The separation is 8
  • The background is 160x160


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

Solitaire

Solitaire
  • Each circle has radius 6
  • The circles are 16 apart
  • The background is 150x150
  • The big disk has radius 72
  • The green in 39,155,102


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

Connect 4

Connect 4
  • Each circle has radius 8
  • The circles are 20 apart
  • The background is 148x128
  • The color is 150,146,100


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