Begining programs

Hello, I was just wondering if anyone had any thoughts on what would be a good project for a beginner @ programming. I have some experience with Codea, and this is my best work so far, or atleast the most complex in my opinion… Anyway, I appreciate any thoughts, suggestions, or resources posted. Thx for your time. :slight_smile: !!!

function setup()
    print("Flick the ball")
    x = WIDTH/2
    y = HEIGHT/2
    c = color(255, 239, 0, 255)
    end

-- This function gets called once every frame
function draw()
    -- This sets a dark background color 
    background(0, 225, 255, 255)
    fill(c)
    ellipse(x,y,100)
    -- This sets the line thickness
    strokeWidth(5)
    
end
    -- Do your drawing here
    function touched(touch)
        x = touch.x
        y = touch.y
end

Whoops, still can’t post code…
Lol

You could try a few things starting from your example up there:

  • Make randomly positioned squares on the screen that you can “collect” by dragging the circle over them
  • Make the colour of the circle change based on its speed
  • Make the circle get smaller over time, you need to collect the random squares in the first point to keep it big. When it shrinks too much the game ends and restarts.

Those suggestions are based on using your code as a starting point. There are some more beginning programs suggested in @LadyJayne’s thread here: http://twolivesleft.com/Codea/Talk/discussion/1000/frustrations/p1