Page: << 1 >>
Sudoku
Author Message
Post #203050 Sudoku

Yes Sudoku! I've played this game for quite a few years and have been interested in how the puzzles function.

I am going to code server-client so players can rank up and compete "not quite sure of criteria yet"?

After a little bit of thought I was like hey the base code for this shouldnt be to hard to complete like all my other projects that require a bundle of graphics that wont get completed unless I have the cash to pay someone to do it.. so I started programming so far I have coded the following.

Server

#1: Sudoku Puzzle Generator, yes this Generates the puzzles. It creates a valid Sudoku here are some of the results.

6 1 4 8 9 5 3 7 2
5 2 9 7 1 3 8 4 6
3 8 7 2 6 4 9 1 5
7 3 6 4 2 8 1 5 9
1 5 8 9 7 6 2 3 4
4 9 2 3 5 1 6 8 7
9 6 3 1 4 7 5 2 8
8 4 5 6 3 2 7 9 1
2 7 1 5 8 9 4 6 3

4 2 5 7 8 6 9 1 3
1 3 8 4 5 9 2 6 7
7 9 6 2 1 3 4 8 5
3 4 9 6 7 2 1 5 8
5 6 1 3 4 8 7 2 9
8 7 2 1 9 5 3 4 6
6 8 7 9 2 1 5 3 4
9 1 3 5 6 4 8 7 2
2 5 4 8 3 7 6 9 1

1 2 4 7 5 9 8 6 3
9 5 8 3 2 6 1 7 4
7 3 6 4 1 8 2 9 5
5 6 9 2 3 7 4 8 1
8 4 3 6 9 1 5 2 7
2 7 1 5 8 4 6 3 9
4 1 7 8 6 3 9 5 2
6 9 2 1 7 5 3 4 8
3 8 5 9 4 2 7 1 6

#2: Sudoku Puzzle Verifier, yes this verifies if a complete puzzle is a correct or not!


Client

No need yet


I know every type of game has cheaters I was trying to think of ways to cheat the server the main thing i could think of is a similar type of code  to my Sudoku Puzzle Generator except you would be able to plug in base values " Enter x,y,value x,y,value" and it would complete the puzzle of the chosen values so at this point if someone knew the servers packet protocal they could send the correct packets-values.

I am thinking of useing timers between sending packets and some sort of packet validation. Should I encode packets? What other type of security measures should I take?

What type of tournements should I make? The only type's I can think of are timed battles and first completion which is still timed I guess unless I also add a point system.


Is anyone willing to test a few puzzles to see if they can come up with more than?  Any feedback is appreciated!

1 year, 51 weeks ago
Page: << 1 >>