Difference between revisions of "Assessment 2008 Easy"

From Progzoo
Jump to: navigation, search
(Naughts and Crosses)
(Naughts and Crosses)
Line 7: Line 7:
 
*The background is 200x200
 
*The background is 200x200
 
<prog>
 
<prog>
static void drawFlag(Graphics g){
+
static void drawFlag(Graphics2D g){
 
}
 
}
 
</prog>
 
</prog>
 
<answer>
 
<answer>
static void drawFlag(Graphics g){
+
static void drawFlag(Graphics2D g){
 
   BufferedImage img= new BufferedImage(200,200,
 
   BufferedImage img= new BufferedImage(200,200,
 
       BufferedImage.TYPE_INT_ARGB);
 
       BufferedImage.TYPE_INT_ARGB);

Revision as of 01:18, 12 October 2008

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


Naughts and Crosses
[Font] [Default] [Show] [Resize] [History] [Profile]
Simple Chess Board
Go
Solitaire
Connect 4