Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Xeda112358 on November 01, 2011, 04:59:27 pm

Title: LytsOut
Post by: Xeda112358 on November 01, 2011, 04:59:27 pm
First: The name is spelled this way because LIGHTSOUT is 9 chars and programs must be 8 chars
Second: This is a Grammer program

So pretty much, this is a spinoff of the classic Lights Out game. With this version, you select a location with the cursor and by pressing enter, you invert the location as well as those around it. The goal is to color the whole board black.

Things I can add:
Turning the board one color is a win (all black or all white)
Adding a score (The board is made in 17 steps, so this will grade based on best time)
Adding a highscore
Adding difficulties (larger playing board, for example, or a block that doesn't change)

So what do y'all think? I should also note that the program is currently 352 bytes

Controls:
Enter inverts surrounding blocks
Clear exits the program
Arrows move the cursor
Title: Re: LytsOut
Post by: BalancedFury on November 01, 2011, 05:03:44 pm
It sounds very addicting :D
You should make it really hard and make like 15 to 20 levels.
And achievements and timers
I know it's not what you said you could add, but it would be much better :D
EDIT: +1 for you XD
Title: Re: LytsOut
Post by: Xeda112358 on November 01, 2011, 05:05:39 pm
I don't know how to make different levels, but I could add in a timer :)
Title: Re: LytsOut
Post by: BalancedFury on November 01, 2011, 05:07:13 pm
What do you mean you don't know how to make different levels?
It seems like you alrdy made 2 in the screenshot.
Or do you mean that's the maximum you can make?
Also, what about the achievements part?
Title: Re: LytsOut
Post by: Xeda112358 on November 01, 2011, 05:08:17 pm
I don't know how I would make the achievements, either :/ And the levels are randomly generated XD
Title: Re: LytsOut
Post by: BalancedFury on November 01, 2011, 05:09:10 pm
Oh! Nice XD
You can ask Yeong for that :D
(The achievements I mean)
Title: Re: LytsOut
Post by: ben_g on November 01, 2011, 05:24:21 pm
looks like a nice game.

If you are going to do a larger board, it might be easyer too see of how much squares a large area with a single color is.
Title: Re: LytsOut
Post by: BalancedFury on November 01, 2011, 05:24:58 pm
Also, I alrdy wrote this in IRC, but you might not have seen it, so you should have named the program LightOut :P
Title: Re: LytsOut
Post by: Xeda112358 on November 01, 2011, 05:27:11 pm
Also, I alrdy wrote this in IRC, but you might not have seen it, so you should have named the program LightOut :P
No, I didn't see that, but I didn't really think too hard on the name XD
If you are going to do a larger board, it might be easyer too see of how much squares a large area with a single color is.
I am not sure I understand... Do you mean if I have an 8x8 board, check to see if a 5x5 region is all one color or something?
Title: Re: LytsOut
Post by: BalancedFury on November 01, 2011, 05:28:08 pm
Also, I alrdy wrote this in IRC, but you might not have seen it, so you should have named the program LightOut :P
No, I didn't see that, but I didn't really think too hard on the name XD
If you are going to do a larger board, it might be easyer too see of how much squares a large area with a single color is.
I am not sure I understand... Do you mean if I have an 8x8 board, check to see if a 5x5 region is all one color or something?
:P
Is it possible to change now? :D
Title: Re: LytsOut
Post by: Xeda112358 on November 01, 2011, 05:28:54 pm
Well it is possiblt to change, but I don't know that I can change the name of the topic XD I think I will leave it how it is, though :)
Title: Re: LytsOut
Post by: BalancedFury on November 01, 2011, 05:29:50 pm
Okee :P
The only thing I don't like is the random level thing :P
Can u try to make different levels? :D
Title: Re: LytsOut
Post by: Xeda112358 on November 01, 2011, 05:31:11 pm
D: Why don't you like it? D:
I guess I could add a feature that uses premade playing boards. Hopefully when I have time to work on this, I will add that XD
Title: Re: LytsOut
Post by: BalancedFury on November 01, 2011, 05:31:44 pm
Well, when I play games I wanna feel like I actually did something and there is proof to see it :P
Title: Re: LytsOut
Post by: Xeda112358 on November 01, 2011, 05:33:58 pm
Ah, good point XD Yeah, I understand that... I guess >.> :P
Title: Re: LytsOut
Post by: BalancedFury on November 01, 2011, 05:34:38 pm
:P
I can ask my brother right now about the achievement thing :D
Title: Re: LytsOut
Post by: Yeong on November 01, 2011, 07:06:48 pm
@Xeda: for the 'stages', you could do loops :D
just randomly generate a stage with loop
Title: Re: LytsOut
Post by: Xeda112358 on November 01, 2011, 09:33:44 pm
Yeah, but I think he means I should make actual maps to use (not randomly generated ones)
Title: Re: LytsOut
Post by: BalancedFury on November 01, 2011, 09:35:19 pm
I did mean that :P
Cause when it's random, it is way too hard :P
Title: Re: LytsOut
Post by: leafy on November 01, 2011, 09:37:13 pm
Dag nab it Xeda, I was working on this game >< mine looks better though >:)
Title: Re: LytsOut
Post by: BalancedFury on November 01, 2011, 09:37:59 pm
Dag nab it Xeda, I was working on this game >< mine looks better though >:)
???
I thought Xeda started first?
EDIT: What about your Graviter game? :P
Title: Re: LytsOut
Post by: Xeda112358 on November 01, 2011, 10:13:56 pm
XD I made this game a long while ago in BASIC, then BatLib, then ReCode, then an early version in Grammer way back when XD


EDIT: I should note that I made this this morning when I woke up at 8:00 >:D
I finished at 8:30 >:D
Title: Re: LytsOut
Post by: BalancedFury on November 02, 2011, 09:18:19 pm
The LytsOut game? O.O
Title: Re: LytsOut
Post by: Xeda112358 on November 02, 2011, 09:19:48 pm
>.>
<.<
Yes.
Also, I don't have any time planned out or put aside for this for a while, so an update might not come about too quickly :/
Title: Re: LytsOut
Post by: BalancedFury on November 02, 2011, 09:28:38 pm
A 30 minute game :P I guess Grammer is simple to program
My bro. made the first working version of Grammer Run! in like 10 minutes :P
Title: Re: LytsOut
Post by: Xeda112358 on November 02, 2011, 09:30:22 pm
Wait, are you and yeong brothers?
Title: Re: LytsOut
Post by: BalancedFury on November 02, 2011, 09:30:55 pm
Yes o.O
I had to repeat that like 20 times even though I said it in my introduction :P
Title: Re: LytsOut
Post by: Xeda112358 on November 02, 2011, 09:33:16 pm
Wow, cool! Wow! I must not have been around when you joined. Yeah, once you get into programming for Grammer, a lot of things can come pretty fast (especially mini games like this).
Title: Re: LytsOut
Post by: BalancedFury on November 02, 2011, 09:35:28 pm
Im still trying to master Axe and is working on another game that I will upload as soon as i'm done :P
After Axe, I'm either going for Asm or Grammer :P
http://ourl.ca/12903/243959#new
Title: Re: LytsOut
Post by: LincolnB on November 03, 2011, 10:28:01 pm
Yeah, I love how once you get familiar enough with a language, programming it is like second nature, and you can lots of stuff really fast cause you've done similar things a million times before :)
Title: Re: LytsOut
Post by: Xeda112358 on November 03, 2011, 10:29:33 pm
That is exactly true :) I met a new programmer and I was talking about how I always made tic-tac-toe with AI during my math finals and they just looked at me like O.O and I just laughed XD It is because I have done it so much that I can literally do it in my sleep .__.
Title: Re: LytsOut
Post by: aeTIos on November 04, 2011, 09:00:34 am
XD
Lol. Yeah, I can access around every item in the programming menus w/o even scrolling down there (I only use the left/right keys)
Title: Re: LytsOut
Post by: BalancedFury on November 05, 2011, 01:28:45 pm
Did you add achievements yet?
Title: Re: LytsOut
Post by: Xeda112358 on November 05, 2011, 01:54:33 pm
No, I haven't, actually :/ I might eventually when I get around to working on this again D:
Title: Re: LytsOut
Post by: BalancedFury on November 05, 2011, 02:09:50 pm
U gave up on it? :P