View unanswered posts | View active topics It is currently Thu Mar 28, 2024 4:25 pm



← Back to the Calcudoku puzzle page




Reply to topic  [ 5 posts ] 
 Solved puzzles from previous days not shaded 
Author Message

Posted on: Sat Feb 15, 2014 12:39 am




Posts: 20
Joined: Mon Dec 05, 2011 11:42 pm
Post Solved puzzles from previous days not shaded
I am having the problem at the moment where I look at previous days and some of the puzzles aren't shaded green, for example yesterday my 5x5 puzzles, 8x8s and my 12x12 are not shaded green like they are not solved. But I click on them and it has the "note you have already solved this puzzle" and they are in my history of solved puzzles so I think I am still getting the points. Just wanted to check that this is the case?
Not urgent just thought I would let you know [smile]
Jasmine


Profile
User avatar

Posted on: Sat Feb 15, 2014 12:50 am




Posts: 300
Joined: Fri Jun 17, 2011 8:15 pm
Post Re: Solved puzzles from previous days not shaded
I saw something I thought related in the server change thread under announcements. I'm copying my note from there over here.

pnm wrote:
More implementation tidbits: I just put in different code for
the bit that determines which puzzles you already solved today
(to show the green markers in the puzzle table).

Patrick,
I looked back at yesterday's puzzles, just now and several puzzles were not marked as completed, though I am pretty certain I did them. Going back through the week I found the same thing each day. The 4s, 6s, 9s, extra puzzles, and medium and difficult KS were all marked completed. All others appeared incomplete - 5s, 7s, 8s, 12s and easy KS.

I didn't do last Saturdays extra but it was marked complete, and that is what finally clued me in. (You may have figured it out already.) The new code is using today's completions no matter which day you are viewing.

PS: This probably belongs in a different thread under "Bugs and errors", but since I was quoting you...


Profile

Posted on: Sat Feb 15, 2014 12:54 am




Posts: 20
Joined: Mon Dec 05, 2011 11:42 pm
Post Re: Solved puzzles from previous days not shaded
Oh that clears it up thank you for that!


Profile
User avatar

Posted on: Sat Feb 15, 2014 10:06 am




Posts: 3296
Joined: Thu May 12, 2011 11:58 pm
Post Re: Solved puzzles from previous days not shaded
jaek wrote:
I didn't do last Saturdays extra but it was marked complete, and that is what finally clued me in. (You may have figured it out already.) The new code is using today's completions no matter which day you are viewing.

You're absolutely right.

(so even my sloppy code creates challenging puzzles [blush] )

I fixed it for now, but this does mean that the green markers are only shown for today's puzzles.

I'll have to think about a more efficient way to still shown them for older puzzles.

Patrick


Profile

Posted on: Mon Feb 17, 2014 4:59 pm




Posts: 50
Joined: Fri May 13, 2011 11:45 am
Post Re: Solved puzzles from previous days not shaded
ah ok


Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
All forum contents © Patrick Min, and by the post authors.

Forum software phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.