Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ajorians

Pages: 1 [2] 3 4 ... 7
16
TI-Nspire / Re: SDL ports for Nspire
« on: May 06, 2015, 09:33:02 am »
Wow!  Really awesome!  I'll have to give this a try!

Thank you for your hard work!   :)

17
Hi Virusscript24,

Vogtinator is correct.  Having a static class member variable also needs something else.  Here is a small example:
Code: [Select]
#include <iostream>
class Something
{
public:
    static int s_nValue;
};
 
int Something::s_nValue = 1;//This part here is needed
 
int main()
{
    Something cFirst;
    cFirst.s_nValue = 2;
 
    Something cSecond;
    std::cout << cSecond.s_nValue;
 
    return 0;
}

See this tutorial here: http://www.learncpp.com/cpp-tutorial/811-static-member-variables/

Hope that helps!

18
TI-Nspire / nMastermind
« on: January 26, 2015, 09:51:49 pm »
Hi Guys,

I worked on making the game Mastermind.  It is a fun game where you figure out the colors and the pattern.  If you've never played it before you should really get a copy of the game.

The game is coming along quite well.  In fact other than some small tweaks I don't have planned much more to add to it.  Right now I have achievements, and the ability to adjust some options.  So you can switch between 4 and 5 holes; you can change the number of colors from 4 to 8; and you switch between 10 and 12 tries.

Give it a try if you got the time and let me know what you think!  All source is included.

And have a great day as well!

19
TI-Nspire / Re: kArmTI - TI-Nspire emulator with skin
« on: January 25, 2015, 01:35:00 pm »
Hey SpiroH,

Nice!  For what it is worth it does work on Wine!  Using wine-1.7.2.

Also nice to see nHitori in your screenshot!   ;D

Keep it up!  And have a great day!

20
TI-Nspire / Re: nTileWorld (a Chips Challenge port)
« on: January 10, 2015, 08:50:53 pm »
Hey Guys,

I worked on this program just a tad today.  Basically I was just having fun; but maybe some of this might be useful to some of you!

I compiled it again but with the latest Ndless SDK so it is a Zehn binary.

You already can set the level file's extension, .dac, to open with this program.  I don't know if anybody did.  So I made it so on first run it'll add it for you.  This way if you have lots of levels you can just run the level set information file instead of finding it in the menu.

But as you know having lots of files will slow down your calculator.  So I finally made it so you can have multiple level-sets in a single file.  So take a look at the screenshot below with lots of "files".  There are a whopping 295 level-sets in that list and the level data adds up to 8.9MB.  Had all those been separate files you'd have 2x295 files on your calculator because there are two files per level set (level data and set information file).

To combine many level sets into one can be done manually.  With the level data files you can just cat the files.  And in the set information file I added "filestart=###" where the number is the byte offset into the file.  Doing it manually can be tedious if you have more than 2 level-sets so I attached a small C file that would grab all the level data sets you have from a subdirectory and pack the level sets.  I have it so that packing program also turns off passwords so you could press Ctrl + N and Ctrl + P to go to the next and previous levels.  I've been finding that a lot of these levels are quite hard!

Attached is the calculator executable and the source.

Hope you find this interesting! :)  And have a great day!

21
TI-Nspire / Re: Connect4
« on: January 02, 2015, 04:08:14 pm »
Until Zehn is supported on 3.1, you can run the make-prg command, which will add a wrapper allowing execution on 3.1.
Hey Legimit,

Sweet!  I must have missed that information.  I see it now: http://hackspire.unsads.com/wiki/index.php/Zehn  And I'll give it a try soon!

Have a great day!

22
TI-Nspire / Re: TI-Nspire emulator
« on: January 01, 2015, 03:56:29 pm »
Great! I assume you used a flash file createy by nspire_emu v0.70?

Correct.  I don't know (and still don't) if it can create flash file.  But I figured I'd try with a nspire_emu v0.70 created flash file.

It did take me a couple of minutes to figure out how to use the program.  For instance to install Ndless 3.6 you need to press the 'menu' key; and I had to look at the source to see Alt + M (and to turn on the calculator after it went into sleep: Alt + Shift + Esc).  Also transferring a file is simple (drag-n-drop) though it did take me a minute to try that.  But got that all figured out! :)

If you're running on 64bit, could you try the latest source with x86-64 JIT?

Sure thing!  I got the latest and used QtCreator.  Below is a screenshot of it running as well as a screenshot of the QtCreator settings I had.  Thanks again!

23
TI-Nspire / Re: TI-Nspire emulator
« on: December 31, 2014, 11:40:56 am »
Hey Vogtinator and antoniovazquezblanco (and anybody I should have addressed),

Just wanted to say I was able to compile and run the emulator you are working on from source! :)

I am on Linux (OpenSuse), I got a TI-NSpire CX with 3.6.0.550 image running and installed NDless 3.6 on it :)

Thanks for working on this!  And have an amazing day!

24
TI-Nspire / Re: nHearts
« on: December 31, 2014, 11:34:21 am »
Hey Guys,

Just a small update.  I added in a 3-player mode.  Under Options you can turn that on.  In 3-player mode each player gets 17 cards instead of 13.  And with a 52 card deck that means there is an extra card.  It is face down in the middle and whomever takes the first trick gets that card.  That card could be a Heart (even Queen of Spades) but I have it so it won't break Hearts.

There are many variations to Hearts as you can see on the Wikipedia page: http://en.wikipedia.org/wiki/Hearts#Variations but I've played 3-player Hearts before and liked it enough to add that.

Hope you all like it!  And have fun! :)

25
TI-Nspire / Connect4
« on: December 31, 2014, 11:27:34 am »
Hey Hey Guys!

I figured the TI-NSpire could use a Connect 4 game!  I would have wrote one but while searching to see if there were an existing algorithm on the Internet I came across Keith Pomakis' site: http://www.pomakis.com/c4/ and I liked his Connect 4.  His is a console program written in C and upon playing it I liked it!  It is quite fast and beat me several times.

So I compiled his for the calculator.  It wasn't too hard to do; I only had to change a few things to get it to compile!  Also I added a couple of things to make things nicer on the calculator such as hold esc or q to quit (similar to Ctrl+C on the computer).

This uses newlib and nspireio to create the executable which is the newer Zhen binary.  Don't worry if none of those words mean anything to you!  For the most-part it means this will run on Ndless 3.6 (and newer) but I don't think it'll run with Ndless 3.1 as it didn't have Zhen loader.

Attached is a zip containing the file to put on your calculator as well as the source files.  Hope you find it fun! :)  Holler if you have any questions!  And have a great day!

26
TI-Nspire / Re: nHearts
« on: December 10, 2014, 06:36:40 am »
Thanks guys!

Eiyeron: Are you talking about on the menu screen where you choose "play", "achievements", "options" and "help"?  Or is it also with other areas in the program as well?

Have a great day!

27
TI-Nspire / Re: nHearts
« on: December 09, 2014, 10:33:13 pm »
Hey Guys,

Here is an update!

I got decent A.I. players now.  If you are good a Hearts you'll probably find them fairly easy.  I had somebody test Hearts and they loved it that they played for hours so I'm feeling pretty good about that!

I added in achievements, options and bug fixes.  I updated the background during game play.  Also I have a score review that shows scores from each hand and you can scroll through that hands when there are more than 10 hands.

I'm feeling pretty good about this and will probably start my next project here shortly!  So let me know what you think!

And have a great day!

28
TI-Nspire / Re: nHearts
« on: October 25, 2014, 06:32:28 pm »
Hi Guys,

Hayleia: I probably should work on that makefile!  I go under ArchiveLib and do a make; then go under CardLib and do a make; then go under HeartsLib and do a make.  Finally at src do a make.  Thanks Adriweb!  Yeah it isn't intuitive (yet).

I haven't tried this version: http://www.ticalc.org/archives/files/fileinfo/423/42341.html that exists on the Nspire.  I had intended on making my own.

Good suggestion Adriweb!  I was debating having the other players have "names" as well as show their current score during gameplay too.

Also I am thinking of whether to allow the user to close the game in the middle of a hand/game; and then could resume the game upon reopening the game.  It is something nice; the only downside is extra development time.  :)

Keep having fun!

29
TI-Nspire / nHearts
« on: October 25, 2014, 02:10:14 pm »
Hey Guys!

I really wanted to make the game Hearts.  I enjoyed playing it growing up.

So far I got a good part of the game down; in that it is pretty much fully playable!  I didn't make any of the A.I. for the other players yet.  Right now they just choose a random card of the cards that are possible to play.  But I do intend on making some algorithms such that the A.I. players put up some sort of a challenge.

There is a Jack of Diamond option where if you take the Jack of Diamonds it is a negative 10 points.  Yahoo Games has that option.  BTW the -10 is stored in the settings file so if you wanted to use nTxt to modify it to be -15 or +10 or whatever you could!  ;)

Below are some screenshots as well as a download (with source) if you'd like to give it a try.  And here is a YouTube link to see it in action:


Let me know what you think!  :)

And have an amazing day!

30
TI-Nspire / Re: Binary Puzzle for NSpire
« on: October 13, 2014, 08:19:16 am »
Thanks DJ Omnimaga,

I was never really "gone" but quite busy.  With me when I have just a half hour/hour it isn't enough time to work on something for the calculator.  I like having multiple hours such that I can concentrate.

Have a fantastic day!  :)

Pages: 1 [2] 3 4 ... 7