Author Topic: nHitori for Nspire  (Read 11211 times)

0 Members and 1 Guest are viewing this topic.

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
nHitori for Nspire
« on: May 20, 2013, 08:30:46 am »
Hey Guys,

I am very excited you show the latest project I have been working on!

It is the logic game called Hitori (http://en.wikipedia.org/wiki/Hitori).  I attached a little walkthrough to help you understand how to play because the game is more fun when you understand the rules. :)  This isn't a guessing game so it will help you to play by analyzing the board; this will help you in the bigger and harder levels.

This game comes with 100 levels (and solutions) built in.  Also when you beat a level you'll have a star next to the level name.  So try to beat all the levels.

There is undo/redo so you can go back (and forth) many moves.

This program registers the .hitori extension for external level files.  So in addition to the 100 levels; I included some extra external levels should you want to play some more levels!

It should be just about finished; so let me what you think!  I included all my source code as well!  I tested this with a TI-Nspire Touchpad and made it look/play alright on that device.  Though the Nspire CX's color screen is nice; it should play well on any Nspire.

Have a wonderful day!

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: nHitori for Nspire
« Reply #1 on: May 20, 2013, 08:41:11 am »
Looks like a fun game to play, I'm definitely downloading this :D

Some people need a high five in the face... with a chair.
~EC

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: nHitori for Nspire
« Reply #2 on: May 20, 2013, 09:09:08 am »
I've just downloaded and tried it in the emulator.
It seems to work just fine. Good job. Thanks!

Offline AlexisVieira

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 100
  • Rating: +1/-1
    • View Profile
Re: nHitori for Nspire
« Reply #3 on: May 20, 2013, 12:18:40 pm »
good job :)
I'm Portuguese, sorry bad English

Offline joeym

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +0/-0
    • View Profile
Re: nHitori for Nspire
« Reply #4 on: May 21, 2013, 12:45:16 am »
I remember you telling me about this.

I cannot wait to dl it and give it a try after reading the rules.

Thanks man!!! Another great game!!!

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: nHitori for Nspire
« Reply #5 on: May 22, 2013, 07:04:30 am »
Am I the only one here that think this project needs far better graphics ?
No offense, but it can be really simple to add little bevel effects or other stuff to make it different from simple rectangles ..
Same remark for the "You win" message.

I cannot wait to dl it
Euhhh.. you know it is already available for download, right ?
« Last Edit: May 22, 2013, 07:04:57 am by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: nHitori for Nspire
« Reply #6 on: May 22, 2013, 07:38:59 am »
Hey Levak,

You're right!  Thank you for your input.  I appreciate honest feedback and so I promise no offense was taken.  For the board it is just SDL_FillRect (aka just a solid rectangle) and the same for the cell highlighting.  But I could use a gradient and see if that improves the look a bit.

I recycled the "You Win" message from nTornado21; but maybe I'll add a particle effect or something! :)

Did you get to play the game a bit?  I claim this game is quite a lot of fun once you know how to play and formed techniques.

ElementCoder, SpiroH, AlexisVieira, joeym: Thanks!  I hope you are enjoying it!

Have an amazing day!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nHitori for Nspire
« Reply #7 on: May 22, 2013, 03:50:49 pm »
Interesting game, and as for the graphics I kinda agree that Nspire games kinda needs good graphics, although I kinda find the current ones to be cool. One complaint I had before about Lua games in particular and to a lesser extent some C games is that every graphic were just plain shapes, no texture, even though the calcs are capable of far more. in your case though you had textures and I like the way the last board is done in the 3rd screenshot. :)

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: nHitori for Nspire
« Reply #8 on: May 24, 2013, 12:02:07 pm »
Hey Guys,

I found some time to add to this game.  It is attached below.  So I didn't change the graphics; I debated myself on that while concurrently added in some other visual improvements.  When you make two adjacent markings or isolate come cells I made it so the yellow cells will darkens & lighten until it is corrected.  Also I made it so when you move the selector it doesn't just move; but slides to its new spot.  If this sliding isn't desired; it is an option.  So under Options you can turn it off.

DJ Omnimaga: I agree with you!  These calculators are capable of some incredible stuff and so the bar is higher for the Nspire games.  Being a puzzle game I'm not sure exactly how far graphically I'd like to take this particular game though.

Hope you like it!  Have an amazing day!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nHitori for Nspire
« Reply #9 on: June 10, 2013, 11:40:33 pm »
Nice update. I'm gonna download it now then try later as soon as I have some time. :)

Do I need OS 3.2 or will it work on 3.1?

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: nHitori for Nspire
« Reply #10 on: June 11, 2013, 03:33:01 am »
It's an ndless game. :P

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nHitori for Nspire
« Reply #11 on: June 11, 2013, 04:22:42 am »
Ah right, I didn't remember that this one was. :P