Looking for partner or help to create a simple game.

I am a new Corona Sdk developer and I want to create a very easy game to play and need help or partners to create the game.

The game layout is very simple: You starts with a board of dots and you have to have two players to play the game.

The game starts with dots all over the screen, example 8x10 :

then you can erase the dots, but you can only delete in a straight line (horizontal or vertical). Player one could erase 1 to 10 dots with his move, his choice, but it can only be in a straight line. Then player two goes and the same applies to him he can erase anywhere from one to ten dots. Then the point of the game is whoever has to erase the last dot looses.

First to start the dots, I guess:

for i = 1,8 do     local link = {}     for j = 1,10 do         link[j] = display.newCircle( 40, 40, 20 )         link[j].x = 20 + (i\*65)         link[j].y = 60 + (j\*85)     end     end   

Then I have no idea how to enable the touch for erasing the dots and how to only enable 1-10 dots in a straight line horizontal or vertical. Would like it to be done by drawing a line through them.

Well, hope someone wants to help out or partner up.

Thanks, Huni.

How can I set so that if I draw a line one way it can only continue that way? if Y then only Y or if x only x?

local lines = {}; local i = 2; local strokeWidth = 10; local R = 150; local G = 100; local B = 50; local function drawALine(event) if event.phase == "began" then elseif event.phase == "moved" then lines[i] = display.newCircle(event.x, event.y, strokeWidth, strokeWidth); lines[i]:setFillColor( R,G,B ); elseif event.phase == "ended" then end end Runtime:addEventListener("touch", drawALine)

Then I need a button, that accepts the line and deletes the dots the line touches. Hope to get some help on the subject, thanks.

Is there away to set collision by dots and lines to remove the dots?

How can I set so that if I draw a line one way it can only continue that way? if Y then only Y or if x only x?

local lines = {}; local i = 2; local strokeWidth = 10; local R = 150; local G = 100; local B = 50; local function drawALine(event) if event.phase == "began" then elseif event.phase == "moved" then lines[i] = display.newCircle(event.x, event.y, strokeWidth, strokeWidth); lines[i]:setFillColor( R,G,B ); elseif event.phase == "ended" then end end Runtime:addEventListener("touch", drawALine)

Then I need a button, that accepts the line and deletes the dots the line touches. Hope to get some help on the subject, thanks.

Is there away to set collision by dots and lines to remove the dots?