<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Thanks sir i included it as per your instruction. But in the case of word priority, </span><font face="arial, sans-serif" style="font-family:arial,sans-serif;font-size:13px">check_word() will return 1 if the word is eatable. so i feel it is not possible to detect priority with that. I need the bottom most word which is alive and can be eaten.</font><br>
<div><font face="arial, sans-serif" style="font-family:arial,sans-serif;font-size:13px"><br></font></div><div><a href="https://github.com/Nalin-x-Linux/tuxtype" target="_blank" style="font-family:arial,sans-serif;font-size:13px">https://github.com/Nalin-x-Linux/tuxtype</a><font face="arial, sans-serif" style="font-family:arial,sans-serif;font-size:13px"><br>
</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 5, 2013 at 8:00 AM,  <span dir="ltr"><<a href="mailto:tux4kids-tuxtype-dev-request@lists.alioth.debian.org" target="_blank">tux4kids-tuxtype-dev-request@lists.alioth.debian.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Tux4kids-tuxtype-dev mailing list submissions to<br>
        <a href="mailto:tux4kids-tuxtype-dev@lists.alioth.debian.org">tux4kids-tuxtype-dev@lists.alioth.debian.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/tux4kids-tuxtype-dev" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/tux4kids-tuxtype-dev</a><br>
<br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:tux4kids-tuxtype-dev-request@lists.alioth.debian.org">tux4kids-tuxtype-dev-request@lists.alioth.debian.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:tux4kids-tuxtype-dev-owner@lists.alioth.debian.org">tux4kids-tuxtype-dev-owner@lists.alioth.debian.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Tux4kids-tuxtype-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Selecting the most prioritized word (Nalin X Linux)<br>
   2. Re: Selecting the most prioritized word (Pere Pujal i Carabantes)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 4 Jun 2013 11:01:24 -0400<br>
From: Nalin X Linux <<a href="mailto:nalin.x.linux@gmail.com">nalin.x.linux@gmail.com</a>><br>
To: <a href="mailto:tux4kids-tuxtype-dev@lists.alioth.debian.org">tux4kids-tuxtype-dev@lists.alioth.debian.org</a><br>
Subject: [Tux4kids-tuxtype-dev] Selecting the most prioritized word<br>
Message-ID:<br>
        <<a href="mailto:CADN2mO0k6KnYFLqnAfWCMPhhnH2DbBL8NDAcR7aH6siCnM3ygQ@mail.gmail.com">CADN2mO0k6KnYFLqnAfWCMPhhnH2DbBL8NDAcR7aH6siCnM3ygQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
sir<br>
please help me to find the  most prioritized word from the fish object's.<br>
<br>
please go through the code located at playgame.c  and guide me to do it.<br>
<br>
<a href="https://github.com/Nalin-x-Linux/tuxtype" target="_blank">https://github.com/Nalin-x-Linux/tuxtype</a><br>
line 91 tts_announcer()<br>
<br>
<br>
--<br>
*Free Software Free Society *<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.alioth.debian.org/pipermail/tux4kids-tuxtype-dev/attachments/20130604/eda1992d/attachment-0001.html" target="_blank">http://lists.alioth.debian.org/pipermail/tux4kids-tuxtype-dev/attachments/20130604/eda1992d/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 04 Jun 2013 23:48:29 +0200<br>
From: Pere Pujal i Carabantes <<a href="mailto:perepujal@gmail.com">perepujal@gmail.com</a>><br>
To: Nalin X Linux <<a href="mailto:nalin.x.linux@gmail.com">nalin.x.linux@gmail.com</a>><br>
Cc: <a href="mailto:tux4kids-tuxtype-dev@lists.alioth.debian.org">tux4kids-tuxtype-dev@lists.alioth.debian.org</a><br>
Subject: Re: [Tux4kids-tuxtype-dev] Selecting the most prioritized<br>
        word<br>
Message-ID: <1370382509.8967.142.camel@g7.local.lan><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
El dt 04 de 06 de 2013 a les 11:01 -0400, en/na Nalin X Linux va<br>
escriure:<br>
> sir<br>
> please help me to find the  most prioritized word from the fish object's.<br>
><br>
> please go through the code located at playgame.c  and guide me to do it.<br>
<br>
UpdateTux and check_word?<br>
/* UpdateTux : anytime a key is pressed, we need check to<br>
 * see if a fish can be eaten.  The fish that could hit<br>
 * the bottom of the screen first should be choosen if<br>
 * two fishies match what is typed<br>
 */<br>
Inside UpdateTux there is a call to check_word, I think you will be able<br>
to find the word based on both functions.<br>
<br>
<br>
<br>
<br>
Note that accessibility should be optional, regulated by menus and<br>
command line, the easiest way I think is to set a global variable at<br>
start, say tts_accessibility=1; then check for this variable to run<br>
accessibility stuff.<br>
Later on, if time allows, it will be easy to add a menu option that<br>
turns this variable on/off thus enabling/disabling acessibility<br>
<br>
Hope this helps<br>
Pere<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Tux4kids-tuxtype-dev mailing list<br>
<a href="mailto:Tux4kids-tuxtype-dev@lists.alioth.debian.org">Tux4kids-tuxtype-dev@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/tux4kids-tuxtype-dev" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/tux4kids-tuxtype-dev</a><br>
<br>
End of Tux4kids-tuxtype-dev Digest, Vol 65, Issue 4<br>
***************************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font size="4"><span style="color:rgb(102,0,0)"><span style="background-color:rgb(255,255,255)"><u><i><span style="font-family:arial,helvetica,sans-serif"><b>Free Software Free Society <span></span></b></span></i></u></span></span><br>
</font>
</div>