Colour Sudoku

Just BASIC Games
Post Reply
rogerrkh
Posts: 18
Joined: Wed Dec 14, 2005 5:46 pm
Location: Bournemouth, England

Colour Sudoku

Post by rogerrkh »

Based on the game of Sudoku but with colours not numbers
Attachments
Colour Sudo.zip
(1.21 MiB) Downloaded 582 times
uncleBen
Posts: 63
Joined: Sat Oct 29, 2005 9:03 pm

Post by uncleBen »

I'm sorry to say that in this program I recognize my own original work (SudokuMaster2000) with very few modifications (basically replacing numbers with colours, this change only applies to display and is merely cosmetic).

While I don't mind people posting modifications of my code, a few things should be kept in mind:

1. The author of the original work should be mentioned.
2. The modification should be significantly better than the original program (faster, more efficient, add new features, have a nicer interface, more user-friendly etc) and it shouldn't have more "bugs".
3. It would be nice if you sent me a PM at the JustBasic forum (uncleBen), told about the changes, possibly showed the changed code and asked for permission.
4. If the modification is very similar to the original it should be posted in the same thread.

In this program there are some things I particularly don't like:
- Font in help pages is changed, so that the text doesn't fit into the help window.
- It's hard to draw boxes in a sudoku grid like this, because some boxes are a few pixels wider/higher than others (if you don't want to overdraw region borders). (I considered this a bug in the original, but I never fixed it, because it didn't look that bad if color = backcolor.)
- Difficulty levels could be much more balanced. Right now "easy" has too many givens and "hard" has far too few. Empirically I estimated that about 40% (35) given is a good average number for "medium" difficulty with this method of generating puzzles, but you can't deviate from this too much. (15 and 60 in the original program was an overkill in both ways and these particular numbers were chosen for graphical reasons mainly.)

And another thing: if you read the rules of submission, you would see that you are expected to include the bas-file and not include the run-time engine with its files. This archive is mainly meant for people who already have JB and the means to create exe's if they choose to.

What you should do is:
- get the original program
- add a menu option that allows user to select whether they want numeric or colour puzzles (why not also letters, geometrical shapes etc). This would be an improvement. You may ask me for advice with that.
- fix above-mentioned problems
- add credits
- show me what you've done
- replace the file.

P.S I understand that modifying other people's programs is a way to learn but in this case the changes are far too insignificant to call it a different program.
rogerrkh
Posts: 18
Joined: Wed Dec 14, 2005 5:46 pm
Location: Bournemouth, England

Post by rogerrkh »

I am very sorry, I did not mean to upset you, but I never actually claimed it to be my own work.

The only reason I posted this code is so that my 2 nephews would be able to see it, as my e-mail server will not let me attach files with the extions exe, .tkn or .bas and posting here was the only way of letting them see it.

Your program is great and I enjoy playing it so much that I am developing another version, of course I will let everyone know that it is adapted from your program.
Post Reply