My Hi-Lo strategy questions thread

jack.jackson

Well-Known Member
flyingwind said:
I'm going to just make this one thread and start using it for all my Hi-Lo questions.

1. When playing a shoe game, and it's down to the last 2 decks or the last 1 deck, do the indices change? I wonder because the indices are slightly different for shoe games, 2 deck, and 1 deck. So if the shoe is dealt down to near the end, does the indices have to be changed? (while keeping the same count from the earlier part of the shoe?) For example, should insurance be taken at TC=2 when only 2 decks are left? and insurance taken at TC=1 when only 1 deck is left?
I change mine with certain hands. For example k_C s demo shows the ev for doubling (6+3)9v7 with different decks. My level2 index for this hand is +7 which is where i double w/4 decks left, but when theres 1 deck remaining im doubling @+4

online version of my cdca program kc i was having problems changing the number of decks(opera). I had to highlight the entire # then input the number.


Just spit-balling here but when i double @+4 with 1 deck remaining i'll have approximately the same ev as i would doubling @+7 with 4 decks remaining. This is due to the floating advantage.

6 decks:11.60
4decks:12.18(+7)
2decks:13.96(+6)
1deck:17.57(+4)
 
Last edited:

k_c

Well-Known Member
jack said:
online version of my cdca program kc i was having problems changing the number of decks(opera). I had to highlight the entire # then input the number.
As far as I know this is normal behavior. You can place the cursor to the left of the number in the textbox and press the delete key to delete one number at a time from the left or place the cursor to the right and press the backspace key to delete one number at a time from the end. As you said you can highlight the entire contents of the textbox and just type in another number.

Javascript needs to be enabled in your browser for everything to work like it's supposed to. There might be some javascript code to automatically highlight the entire contents of the textbox whenever the texbox has the focus but it seems simple enough to just change like described above.

Edit:
It seems the left and right arrow keys do not work as would be expected. Also the home key just momentarily places the cursor at the beginning of the text but upon release it reverts to the end of the text.

I tried to fix above without success. I'll try to fix it if I can.

Edit #2
I think it is now behaving better. In order to make sure number of decks was input I had a line of code that reset decks to current value and this line really wasn't needed. However, although nothing was changed when arrow keys or home/end are pressed this line of code causes a browser to automatically place the cursor at the end of whatever has been entered in the textbox every time a key is pressed. I think arrow keys + home and end keys are working better now.
 
Last edited:

jack.jackson

Well-Known Member
k_c said:
As far as I know this is normal behavior. You can place the cursor to the left of the number in the textbox and press the delete key to delete one number at a time from the left or place the cursor to the right and press the backspace key to delete one number at a time from the end. As you said you can highlight the entire contents of the textbox and just type in another number.

Javascript needs to be enabled in your browser for everything to work like it's supposed to. There might be some javascript code to automatically highlight the entire contents of the textbox whenever the texbox has the focus but it seems simple enough to just change like described above.

Edit:
It seems the left and right arrow keys do not work as would be expected. Also the home key just momentarily places the cursor at the beginning of the text but upon release it reverts to the end of the text.

I tried to fix above without success. I'll try to fix it if I can.

Edit #2
I think it is now behaving better. In order to make sure number of decks was input I had a line of code that reset decks to current value and this line really wasn't needed. However, although nothing was changed when arrow keys or home/end are pressed this line of code causes a browser to automatically place the cursor at the end of whatever has been entered in the textbox every time a key is pressed. I think arrow keys + home and end keys are working better now.
Hmmm........My arrow keys and/or backspace isnt responding in number of decks box. Highlighting does work! The same as before. Maybe its just me....

Kc, i was wondring if you might be able to comment on my above statement. Do you think it's true I can lower my index for 9v7 as the number of decks decrease??? Say, if the indices were created for a 4 deck game.
 

k_c

Well-Known Member
jack said:
Hmmm........My arrow keys and/or backspace isnt responding in number of decks box. Highlighting does work! The same as before. Maybe its just me....
The javascript code I use limits input to numbers and ignores other keyboard input. However backspace, delete, and arrow keys are supposed to work.

Although the old code works in Internet Explorer and Firefox, after looking into it further, I changed the code again to possibly work in more browsers. This new code works in Internet Explorer and thats all I know at this point. Try again in Opera. Maybe It'll work and maybe not.

Unfortunately all browsers do not handle keyboard input the same.

jack said:
Kc, i was wondring if you might be able to comment on my above statement. Do you think it's true I can lower my index for 9v7 as the number of decks decrease??? Say, if the indices were created for a 4 deck game.
The best way to answer that question IMO would be write a combinatorial analyzer that takes pen level and count as inputs and computes rank probabilities and resulting EVs from this info. I have a good start in writing such a CA. I can compute 1-8 decks for a level 1 count with no problem. However on a computer with 2 gb ram I can only compute up to 2 decks for Wong Halves as a representative of a more complicated count system. More than 2 decks crashes the program. This is just computing the basic underlying probabilities which I think would require the bulk of the required computer resources.

Right now I don't have the time and resources to continue with such a project so all I can say that in my opinion, and without trying to speculate on the details, as number of cards remaining dwindles any count's indices will break down at some point.
 

k_c

Well-Known Member
jack said:
online version of my cdca program kc i was having problems changing the number of decks(opera). I had to highlight the entire # then input the number.
I've recently been using Linux Ubuntu, which has Firefox as its browser. It had the same input problem as you described. I think I was finally able to get Firefox to accept input the same as Internet Explorer and it should be the same in both browsers now. I haven't tested in Opera yet but from what I gather keyboard input in Opera is handled like in Firefox, so hopefully it'll work in there as well.

Also in Firefox with default fonts the GUI is not aligned the same as IE but it is usable. I can change font settings in Firefox to get alignment almost the same as IE though.

Another thing I'd like to do if possible is to display results of a calculation without a page reload. Right now every time 'Compute' is clicked the page reloads with new data or recomputes the same data if no input was changed.
 

jack.jackson

Well-Known Member
k_c said:
I've recently been using Linux Ubuntu, which has Firefox as its browser. It had the same input problem as you described. I think I was finally able to get Firefox to accept input the same as Internet Explorer and it should be the same in both browsers now. I haven't tested in Opera yet but from what I gather keyboard input in Opera is handled like in Firefox, so hopefully it'll work in there as well.

Also in Firefox with default fonts the GUI is not aligned the same as IE but it is usable. I can change font settings in Firefox to get alignment almost the same as IE though.

Another thing I'd like to do if possible is to display results of a calculation without a page reload. Right now every time 'Compute' is clicked the page reloads with new data or recomputes the same data if no input was changed.
IE seems to be a language of its own. I can only hope 8 and 9 were better than 6 and 7. Could be mistaken(not that it matters) but the mis-alignment is usually indicative of a code-error, rather than a issue with the browser.

Yes, the refresher is a little time consuming. I was experimenting with splitting a pair of 7s V A verses Standing and it became a lttle time consuming. Seemed to work fine tho(?).W/o the reload, you may have a challenge on your hands. Nevetheless i was a little surprised to see there wasnt an index, and as soon i find time to revisit the program there was a couple of suggestions i had in mind. tbc...
 
Top