Author Topic: Anagramarama  (Read 20912 times)

0 Members and 1 Guest are viewing this topic.

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Anagramarama
« Reply #15 on: March 14, 2013, 11:14:14 am »
I'm excited to hear what your next project will be, this one definitely turned out great :) Any hints as to what it might be?

About mouse support, what do you even need it for? I don't think it's really a priority, especially if that takes time away from your next project!

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: Anagramarama
« Reply #16 on: March 14, 2013, 03:38:53 pm »
Hi chickendude,

Oh I have a long list of games I'd like to make!  And it will take some time to get to many of them!  But the next game I make, I think, will be a single player card game called Tornado 21!  It is on Yahoo games; here is a link to it: http://games.yahoo.com/games/login2?page=t21&ss=1  It is fun to play.

I'll definitely use nSDL as I prefer to do the graphics with that!  I like using C++ (as mentioned in this post: http://blog.tangrs.id.au/?p=712) even though I cannot do some of the features of that language.  I still might use C though.

So mouse support wasn't really needed in this program; but some day (and it will be quite a while) I would like to try making a Settlers of Catan or Ticket to Ride and good mouse interface will make the game a whole lot better!

I like how we share source code because I have learned how some programs do things by taking a look at the source code!

Also, have a great day! :)

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Anagramarama
« Reply #17 on: March 14, 2013, 11:56:08 pm »
Whoaa some board games would be great! I used to have an old computer game with a collection of different card games: Spades, Hearts, Solitaire, Bridge, Rummy, etc. A card games pack would be fun to have, too :) I've never played Tornado 21 before, though.

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: Anagramarama
« Reply #18 on: March 16, 2013, 08:00:55 am »
Still doesn't work on my Clickpad CAS ... I've around 3Mo left.
____________

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: Anagramarama
« Reply #19 on: March 19, 2013, 02:09:30 pm »
Hi Guys,

I've made a couple of quick updates!  I fixed the letters display issue to my satisfaction and fixed just one bug (starting a new puzzle will return answer page to the beginning).  I'll release it now; so hopefully you'll see it on ticalc soon!  I believe it should be allowed on ticalc even though it wasn't my original code just like nDoom, for instance.  I may come back to it at some point; but I'll get to some new games! :)  The source/binary are attached!

chickendude: If it helps Hearts is my favorite card games and I one day might try writing one! :)  If you've had a chance to try Tornado 21 I hope you enjoyed it!

zero44: Darn!  I did try with a non-CX; but it wasn't a Clickpad CAS.  I will try with one; and I'll have to get back to you with that!  Sorry!

Hope you all have a good day!

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Anagramarama
« Reply #20 on: March 20, 2013, 11:56:22 am »
Nice and colorful. Something you will never be able to say about 84+ games unfortunately (or can you? CSE :D)
If you like my work: why not give me an internet?








Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: Anagramarama
« Reply #21 on: March 21, 2013, 05:03:03 am »
Sorry everybody, I put the files in the root directory and it work almost perfectly.
What are the keys to start a new game / scroll answers ?
also I typed [tab] (answer) [a] , the 'a' appeared on the right side, a little too much to the top, and calc crashed when I pressed [clear].

But I'll try the newest version as sonn as possible, probably this afternoon (here in 4 hours)
____________

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: Anagramarama
« Reply #22 on: March 21, 2013, 07:19:09 am »
Hi guys,

Keoni29: I do like how good the color screen looks and it is great that the TI-84+CSE will have a color screen!  But the TI-84+CSE (from my understanding) with its 128KB (21KB user accessible) memory will be the limiting factor!  Someday I might try a compression/decompression algorithm on the word list.  But I don't doubt that there will be lots of nice and colorful programs on the TI-84+CSE!

zero44: I was able to duplicate the crash you mentioned!  Apparently you can type the available letters after pressing the answer key (tab) and then they will be on the right side as you mentioned.  And then pressing the [clear] key does a reboot crash.  Sorry for never noticing it before!  Good find too!  Also, the keys for starting a new game is the plus (+) key; and the parentheses scroll the answers.

Have a good day!

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: Anagramarama
« Reply #23 on: March 21, 2013, 08:23:55 am »
Hi,

Thanks for keys.
I thought to port it to normal z80 calcs, and I found a way to take only 40% of the initial size !!!
But this is only theory, decoding algorithm will be easy to do if we want to check if a word exists, but I don't know how you do know how much words exists for each letter set.
I use the 2/3 firsts letters and the 15 most used letters in the languages, assiociated with custom tokens, to compress this amaaaazing thing. The 15 most used letters (in french ESANTIRULODCPMV, but it may vary) take 4 bits, endOfWord and the others 8 bits.
____________

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Anagramarama
« Reply #24 on: March 23, 2013, 11:24:07 pm »
With the 8-bit letters you could also have a section at the end for commonly used word pairs/triples, for example in french you could put in all the verb endings (aient, issent, etc.) so that they'd take up just one byte. Looking at it now, though, all those letters could also fit into your 4-bit section. To speed things up and save some space in the dictionary, you could also just use shorter words (maybe 6-7 letters). It's also worth checking out DAWG:
http://www.detachedsolutions.com/dawg/

It claims to have a vocabulary of around 40k words. The app size is around 100kb, not too bad really. Especially for SE users. If we can fit the game into 100kb i say go for it :)

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: Anagramarama
« Reply #25 on: March 24, 2013, 09:00:10 am »
Words ends like aient or issent are very often too long to fit in this game which takes only words from 3 to 7 letters.
But you're right, I could make a 'token' indicating which of these ends are possible : a,ai,as,at,e.

I just need to know now if there's a list of groups of random letters or if they are really random.
____________

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Anagramarama
« Reply #26 on: March 25, 2013, 06:16:14 am »
What do you mean about a list of groups of random letters?

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: Anagramarama
« Reply #27 on: March 25, 2013, 03:53:12 pm »
I played a lot and it's often the same letters which are randomly displayed, so I already know what are the 7-letters words, and I wonder if the prog takes a random 7-letters word or if some letters set are already preset.
____________

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Anagramarama
« Reply #28 on: March 25, 2013, 07:19:08 pm »
I assume it picks a 7 letter word and scrambles those letters, i don't think the letters are picked at random.