Page 1 of 3
Some Puzzle game
Posted: Fri Jul 22, 2011 12:18 am
by GijsB
Advise,things i should ad,etc please
if you dont know how the puzzle works it works like this :
the numbers give the amount of sqaures that should be clicked next to eightother in that row, so when you see a 1 and a 3, you should have 1 sqaure clicked, and thereafter 3 sqaures clicked next to eightother
Change the size of the puzzle with the up and down arrows!
Re: Some Puzzle game
Posted: Fri Jul 22, 2011 6:42 am
by hryx
Sweet, I love puzzle games. This reminds me of the demo game "No" that comes with Love.
Bug: Sometimes, a row will not show a hint.
Suggestions:
- Current colors are confusing. The black-on-black doesn't make it obvious which state is off and which is on. Also, the red circle -- red indicates what it should, but circle seems to indicate... the opposite?
- Graphic style. The images are blurry from being anti-aliased when sized up. Just use an image which is already the size it will be in the end.
- Remove the final comma in each numeric hint. When I see "1,2," it looks like that the last item is missing.
Re: Some Puzzle game
Posted: Fri Jul 22, 2011 9:03 am
by Robin
hryx wrote:Bug: Sometimes, a row will not show a hint.
That's not a bug, that's how you know it is all white. Although perhaps it would be clearer to display a "0" instead in that case.
hryx wrote:- Remove the final comma in each numeric hint. When I see "1,2," it looks like that the last item is missing.
Related: use
table.concat:
Code: Select all
function findnumberx(x)
local n = {}
local c = 0
for i,v in pairs(BOXES) do
if v.X == x then
if v.O == 1 then
c = c+1
else
if c > 0 then
table.insert(n, tostring(c))
end
c = 0
end
end
end
if c > 0 then
table.insert(n, tostring(c))
end
return table.concat(n, ",")
end
and similar for findnumbery.
Re: Some Puzzle game
Posted: Fri Jul 22, 2011 12:41 pm
by GijsB
oke, i'll do that, thanks
and here it is :
Re: Some Puzzle game
Posted: Fri Jul 22, 2011 1:51 pm
by Trappingnoobs
I like it :-)
If you're going to release new updates, a bigger grid size option would be a good idea.
Re: Some Puzzle game
Posted: Fri Jul 22, 2011 1:59 pm
by GijsB
in the game code you can actualy already ychange the size
(change diffeculty)
Re: Some Puzzle game
Posted: Sun Jul 24, 2011 1:59 pm
by GijsB
(i thought the rule was that you can post again after 24 hours, so...)
what shall i do next with my puzzle game?
Re: Some Puzzle game
Posted: Sun Jul 24, 2011 2:02 pm
by Trappingnoobs
GijsB wrote:(i thought the rule was that you can post again after 24 hours, so...)
what shall i do next with my puzzle game?
I know it'd be extremely (Problably) hard to code, but make it so that it's logically possible rather than primarily guesswork.
Or at least FORCE it to make one row/column easy, for example, on a 7x7 grid, make one say "3,3" or "1,1,1,1" so that it's obvious where they go.
Re: Some Puzzle game
Posted: Sun Jul 24, 2011 2:35 pm
by GijsB
btw, thats not hard to code at all
edit : here it is =D
Re: Some Puzzle game
Posted: Mon Jul 25, 2011 7:44 pm
by GijsB
(24-hour)
i made is so when you press 'w' or 'up' you make the puzzle bigger, and when you press 's' or 'down' you make the puzzel smaller