Author Topic: nSquareCells  (Read 6540 times)

0 Members and 1 Guest are viewing this topic.

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
nSquareCells
« on: June 29, 2016, 09:46:32 pm »
Hey Guys,

nSquareCells is a puzzle game modeled after the Steam game SquareCells.  The original in a great game (and there is a current Steam sale).

I attached my current progress (and source).  This is a game where you never should guess but always use logic to solve each level.  To beat each level you need to mark every spot that needs to be marked and destroy the other spots.  I'll at some point make a video that explains how to play this game as I don't think I explain it very well.  The numbers on the top and left sides indicate the number of continuous spots in the pattern.  And multiple numbers means there is a gap (at least 1) between the numbers that represent continuous spots in that pattern.  Later levels have the number in brackets (e.g. [5] ) which means there are that many spots that fit the pattern for that row/column (doesn't have to be continuous).  That might sound complicated and so give it a try starting with the first level and hopefully it'll start to make sense  :)

This application supports external levels so you can make your own levels.  I gotta fix the later levels.  And for the larger levels (12x12 and higher) I will try to do something to help make this display better on the 320x240 calculator screen.

It should work on any nSpire with ndless 3.1 and higher.  I programmed this all in C verse my usual C++ (it was fun).  And used nGC instead of nSDL to give that a try too!

Let me know what you think!  Thanks!

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nSquareCells
« Reply #1 on: June 29, 2016, 10:00:57 pm »
It's great to see more Nspire dev happening, not enough people are working with this great platform. What you have done so far looks really great, keep up the good work!
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: nSquareCells
« Reply #2 on: July 08, 2016, 09:10:30 am »
Hi Andrew,

Long time no see!? What have you been up to? People tend to be very busy (or lazy) these days. Nice to see you're back playing with games and compilers.
Hopefully you'll be able to port these beautiful games to a future (and cheaper) mobile platform. ;)
Cheers,

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: nSquareCells
« Reply #3 on: July 10, 2016, 09:33:31 pm »
Hi Guys,

@Ivoah : I like programming on the NSpire  :)  I like how it has 90MB of space for programs.  Though I am curious into seeing what it would take to port one of my games to the 84+ CSE since they have a C compiler.  I'll keep it up!

@SpiroH : It may be been since 2014; not sure exactly.  I am a first time homeowner now.  Before I was commuting an hour each way to work.  For fun I am a runner.  I am not fast but I can do some longer distances races.  That has been taking up many of my weekends.  But I do hope to get time to make this and more things for the calculators.

I've haven't learned how to do mobile programming yet.  At work I do desktop programming.

I found some time to work some more on this program!

I fixed the levels so all should be playable.  Many bug fixes and now showing the in-level message.  I think it is very close to being ready but I'll play with it for a couple of days to be sure.  Here is some screenshots and the program if anybody want to try it out!

Have a great day!

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: nSquareCells
« Reply #4 on: July 14, 2016, 04:52:57 pm »
....
 I am a first time homeowner now. 
Well, that's quite an achievement! How did you manage to earn the needed money (you don't have to answer that :P)?

...
I've haven't learned how to do mobile programming yet.  At work I do desktop programming.
Well, you should start ASAP. That's the future, IMHO. Desktops do take a lot of space and are sort of ugly. Anyway, your intellectual property should be portable to any future platform.  Besides we do need some creative minds around here. So please do keep exercising your taste for gaming, regardless of the platform.



Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: nSquareCells
« Reply #5 on: July 17, 2016, 01:46:21 pm »
Hi Guys,

Quote
Well, that's quite an achievement! How did you manage to earn the needed money (you don't have to answer that :P)?

Thanks!  Well just a mortgage; it'll be many years before it is fully paid for.  I work full time programming; but I enjoy programming so much that some days I come home and do a tad more.  Though unlike work it is making games and is actually rather relaxing!

Quote
Well, you should start ASAP. That's the future, IMHO. Desktops do take a lot of space and are sort of ugly. Anyway, your intellectual property should be portable to any future platform.  Besides we do need some creative minds around here. So please do keep exercising your taste for gaming, regardless of the platform.

Agreed; I do intend to dabble in mobile some!  I like to think once you know C++ any language starts to feel like a subset of that and could be picked up rather easily (hope I didn't offend anybody with that).

I haven't made more progress with nSquareCells; mainly because it feels ready.  So I'll share put it and the source code together.  If anybody finds any issues let me know.

Have a great day everybody! :)

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: nSquareCells
« Reply #6 on: July 24, 2016, 05:53:29 pm »
Agreed; I do intend to dabble in mobile some!  I like to think once you know C++ any language starts to feel like a subset of that and could be picked up rather easily (hope I didn't offend anybody with that).
Nope you can't possibly offend anyone, it's simply not in your nature as a human being, that is. Besides, IMO you right again about the C++, for a change.
Have a beautiful day. ;)