(no subject) [entries|reading|network|archive]
simont

[ userinfo | dreamwidth userinfo ]
[ archive | journal archive ]

Tue 2004-05-11 20:57

In all my years of writing software, I have never had such rapid and high-quality beta testing as I did with the puzzle collection I mentioned in this diary recently. Evidently writing programs that people can use to waste time is a fantastic way to get a lot of testing very quickly. (Not that that should have surprised me, in retrospect, but.)

As a result I've now decided the beta period is over. There will still be bugs to fix, and I'll continue development as and when I have the time and energy, but I reckon these games now work plausibly enough to open them to world scrutiny. So in the unlikely event that anyone who read my previous entry on the subject was absolutely dying to link to my puzzles page and scrupulously didn't do so, they should now feel free :-)

Also, I've just added a fifth game to the page. If you're bored of the other four, go and play Rectangles for a while…

http://www.chiark.greenend.org.uk/~sgtatham/puzzles/

LinkReply
[identity profile] feanelwa.livejournal.comTue 2004-05-11 13:55
Is it possible to make it so that the Rectangles game will have a slightly wider area you can click on for it to think you have clicked on an edge? I keep not being able to undo them again. (I know zip about making computers do this sort of thing as yet, so if this sounds like an absolutely daft request I do apologise.)
Link Reply to this | Thread
[personal profile] simontTue 2004-05-11 16:21
No, that's a perfectly reasonable request, and in fact I already moved that value back and forth several times because I wasn't entirely sure where it should optimally be :-)

<f/x: checks> Hmm. It currently seems to be set at 0.3, which means that 30% of the width of a square on each side of the line is treated as edge, and the remaining 40% is centre. That's actually quite a lot already, so I'm unsure about making it any bigger.

Is it possible (he says, clutching at straws) that what's biting you is not the narrowness of the region that counts as an edge, but actually the largeness of the region that counts as a corner (and therefore the program isn't sure which edge you meant)? If that were the case then I could improve matters by lowering that 0.3 figure. Ideally I should arrange for it to be configurable and let people tweak it back and forth until they're happier...

Now I think about it, I do find myself pressing U a lot (handy keyboard shortcut to Undo). Perhaps a rethink of the control mechanism is in order.
Link Reply to this | Parent | Thread
[identity profile] deliberateblank.livejournal.comTue 2004-05-11 20:17
Feedback.

Highlight the edge that would be clicked on if the user clicked, as the mouse hovers. If it wouldn't count as an edge by the click filter, don't.
Link Reply to this | Parent | Thread
[personal profile] simontWed 2004-05-12 03:07
Sadly, one of the platforms I'm hoping to (eventually) have this collection ported to is stylus-based PDAs, so any control mechanism that depends on mouse hover events for its effectiveness is a bad plan...
Link Reply to this | Parent | Thread
[identity profile] deliberateblank.livejournal.comWed 2004-05-12 06:02
Well, the control/feedback mechanism doesn't *have* to be identical on all platforms surely?

You could also subtly shade active areas so they're visually distinct (without interfering with the larger distinctions on the board.)
Link Reply to this | Parent | Thread
[personal profile] simontWed 2004-05-12 06:12
I'd like the control mechanism to work similarly on all platforms, because that way adding a new platform front end is O(1) effort rather than O(number of games), and adding a new game back end is O(1) rather than O(number of platforms). Since my ultimate aim is to end up with loads of games all running on loads of platforms, this will eventually become a serious concern :-)

Anyway, I think I've improved matters now without having to resort to mouse hovering.
Link Reply to this | Parent
[identity profile] bjh21.livejournal.comWed 2004-05-12 03:33
Surely the Right Thing is for the sensitive area for each edge to be a square at 45˚ centred on the middle of the edge?
Link Reply to this | Parent | Thread
[personal profile] simontWed 2004-05-12 03:51
Unfortunately I also want to be able to drag out an entire rectangle, and also importantly I want to be able to drag out a line (for when you know almost exactly where a rectangle goes and want to mark in as much of its edge as is common to all its possible positions, and don't want to do that by clicking ten edge pieces individually). For these purposes, you don't always want to start your drag at an edge; starting at centres or corners is useful as well.

Therefore, I've been subdividing each square into a 3x3 grid, with four "corner" sections, one "centre" section, and four "edge" sections. I've been indecisively fiddling with the parameter that states how close to the edges the dividing lines are, but the problem is that as you increase that parameter then the edge region gets shorter as it gets fatter, and vice versa.

I've now decided it might be better to be able to independently vary the sizes of the sensitive square around each corner and centre. So now the diagram looks more like a square with a small square at each corner, a larger square in the middle, and diagonal lines in between; so the edge region is octagonal, and its width and height can be varied independently.

Preliminary alpha testing suggests that this is much better all round; once I've tinkered a bit more I'll check it in and see what other people think.
Link Reply to this | Parent
[identity profile] feanelwa.livejournal.comWed 2004-05-12 05:11
That might have been it. Try it and see.
Link Reply to this | Parent | Thread
[personal profile] simontWed 2004-05-12 05:43
Actually, after a bit more playing with it I decided to go for something rather more sophisticated. Rather than having a simple 3x3 grid dividing each square into corner, edge and centre regions (left), I went for a more complex model (right) which expands the edge regions at the expense of both corners and centres:



That seems to me to be generally better all round. The version of Rectangles now on my website has been updated to do this; give it a try and let me know if it's any better?
Link Reply to this | Parent | Thread
[identity profile] feanelwa.livejournal.comWed 2004-05-12 06:02
Oh, that's definitely better. Much easier to use.

And I love the way it now does a little flash when you complete the puzzle!
Link Reply to this | Parent | Thread
[personal profile] simontWed 2004-05-12 06:14
*grin* Two people actually asked for the flash - they'd got used to it in some of the other puzzles and missed it in Rectangles. I thought this one was already obvious enough when you'd completed it that I needn't bother, but no, it seems once you give people one flash they're addicted :-)
Link Reply to this | Parent
[identity profile] lerandra.livejournal.comTue 2004-05-11 15:43
please help
You don’t know me. I’m ky’s old friend. I don’t normally bug people I don’t know but I’m a bit stuck. (computerwise and thought you might be able to help)

I’m trying to delete most of my private files/ folders/ etc... because I got a laptop and selling my old computer and I’m now stuck with no idea what to do to get rid of something.

The main problem is, well I don't know the name of it but I’ll try to describe it. When you are on the net "like" on a search engine and you type in a few letters it will show all previous searches on a list box to try to make it easier but now I wish for it to "stop" and can’t find out where/ how to do it.

Any help would be great!
Link Reply to this | Thread
[personal profile] simontTue 2004-05-11 16:24
Re: please help
Can't help you there, I'm afraid. I've never tried to clean up a Windows machine in that way; finding that sort of hidden data is much easier on Unix. Sorry :-/
Link Reply to this | Parent | Thread
[identity profile] lerandra.livejournal.comWed 2004-05-12 06:39
Re: please help
thanks for the reply at least...
Link Reply to this | Parent
[identity profile] deliberateblank.livejournal.comTue 2004-05-11 20:27
Re: please help
To be sure, you basically need to wipe the disk and (assuming you're selling it as blank but with Windows installed) reinstall the OS.

If you don't know exactly what you're doing and don't want stray personal details left on the thing, then the best bet here would be to find a local Linux geek and ask them personally to (and I quote) use a Linux boot disk to "dd if=/dev/zero of=/dev/hda" to wipe the disk, then reinstall Windows using whatever CDs you got with the machine. Make sure you've moved anything you *do* want to keep off before this though; only the military get to recover data after that sort of destruction!
Link Reply to this | Parent | Thread
[identity profile] lerandra.livejournal.comWed 2004-05-12 06:55
Re: please help
Thanks, but I didn't want to be that harsh. I just wanted to know an easy way to destroy those hidden files without messing up the machine. (as most programs I have no CDs, or access to them anymore)

I don't think I'll be able to wipe the disk, if I wanted or not.
Link Reply to this | Parent
[identity profile] pjc50.livejournal.comWed 2004-05-12 06:56
Do: Internet Explorer -> Tools Menu -> Options ... -> Content tab -> Autocomplete settings button.

That should give you "Clear forms" and "Clear passwords" buttons, which should solve the previous search problem. There's also a "Clear history" button somewhere near there which should help.

If you can do a full wipe and reinstall of the old computer, then do so. It's much easier and you KNOW you've found everything then.
Link Reply to this | Parent | Thread
[identity profile] lerandra.livejournal.comFri 2004-05-14 08:56
Thanks! That's done it.
Link Reply to this | Parent
[identity profile] deano977.livejournal.comWed 2004-05-12 06:02
Slightly odd place to put this, but hey, it seems almost vaguely relevant-ish...

Me mum told me about this at the weekend (to my complete surprise); it seems like a bit of fun:

http://www.sodaplay.com/
Link Reply to this
navigation
[ go | Previous Entry | Next Entry ]
[ add | to Memories ]