#Diego Aspinwall
#10-5-17
#dotsDemo.py - Making some dots

from ggame import *

red = Color(0xFF0000,1)
blue = Color(0x0000FF,1)
green = Color(0x00FF00,1)

dot = CircleAsset(20, LineStyle(1,red), red)
dot2 = CircleAsset(10, LineStyle(1,blue), blue)
square = RectangleAsset(40,40,LineStyle(1,green),green)

for c in range(9):
    for d in range (19):
        Sprite(square, (25+50*d,25+50*c))
for j in range(10): #prints the row 10 times
    for i in range(20): #prints one row of dots
        Sprite(dot, (20+50*i,20+50*j))
for a in range(9):
    for b in range(19):
        Sprite(dot2, (45+50*b,45+50*a))

App().run()
