Page 1 of 1

CodeBreak game

Posted: Sat Sep 25, 2010 9:52 am
by anhtuan445
Hi!

This is my first attempt at Lua programming and LÖVE game making, so be gentle ( PS! Didn't use LUBE in this project yet :P )

If you can comment on bugs, small things to add and most importantly my code - if it has some big errors/problems or if there is an easier way to do things.
I really want to improve my skills in LUA so it would be a great help.

You can get the love file or windows packed exe from the game page - http://love2d.org/wiki/CodeBreak

PS! Going to Eurogamer Expo in London soon, so might not reply quickly, but input is still very appreciated and if some of you are going, I'll see you there :)

Re: CodeBreak game

Posted: Sat Sep 25, 2010 2:15 pm
by nevon
This is great for a first attempt. I haven't had a look at the code, but right off the bat I can see that you have a few spelling and grammar mistakes.

"Congradulations" →" Congratulations"
"Lock is now open" → "The lock is now open" (or "You opened the lock". Sounds a bit more natural.)
"You did it with" → "You did it in"

Re: CodeBreak game

Posted: Sat Sep 25, 2010 2:31 pm
by anhtuan445
Thanks for the corrections, didn't pay much attention to that as actual code was giving me more trouble :P

Re: CodeBreak game

Posted: Sat Sep 25, 2010 6:22 pm
by TechnoCat
This game is graphically appealing. Pretty easy to win though.

Re: CodeBreak game

Posted: Sat Sep 25, 2010 6:32 pm
by anhtuan445
Just wanted it to be a small quick fun game to play. I can include letter and/or colours to make the code harder or I can randomise the star info above so you don't know what character is right and what wrong.

But thank you for your kind words :)

For now I'm planning to look into flocking and boids as it seems really interesting.

Re: CodeBreak game

Posted: Sat Sep 25, 2010 6:54 pm
by nevon
One thing you could do is only display how many of the numbers are correct - not which ones.

Re: CodeBreak game

Posted: Sat Sep 25, 2010 7:20 pm
by anhtuan445
Yes, that's what I meant by previous post ;) Great minds think alike :P

Re: CodeBreak game

Posted: Sat Sep 25, 2010 9:01 pm
by Robin
Did it in 3 tries and 11 seconds. :3 (Combination was 102, so yeah.)