Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 14 posts ] 
SephirothSpawn
  Mon Aug 07, 2006 5:26 am
Support/RGSS Bitch
User avatar
Retired Staff

Location: Kansas City, Mo
Sudoku Puzzles
Version: 1


Introduction

This Script Allows you to play the mini-game Sudoku in rmxp. Generates random tables and uses a data file to load these tables randomly. It is advised to run the generator several times. The more you do, the more random tables there will be.

Screenshots

http://img239.imageshack.us/img239/9189/sudokupuzzlesscreen1dq8.th.png[/IMG]

Demo

Script

Instructions

Please Refer to the Script Heading

FAQ

None Thus Far

Compatibility

SDK as always

Author's Notes

Enjoy

_________________
I want to review your script!
I am always looking for scripts to look over and offer my advice on people's coding. If you want your script reviewed and to further develop your scripting skills, just put a [Review] tag in your topic. I will always post in any scripting topic marked [Review] offering whatever advice I can give.

Image


Top Top
 Profile  
 

Infinite_Rhapsody
  Mon Aug 07, 2006 7:44 pm
Member
ah nice nice


Top Top
 Profile  
 

panchokoster
  Tue Aug 08, 2006 11:10 pm
Member
woah, i love sudoku and now i can play it in my game,
good work!

_________________
_____________________________________________
http://img85.imageshack.us/img85/4343/f ... 5tr7sk.gif[/IMG]Yeah!!,Miffy The Bunny


Top Top
 Profile  
 

Elijah von Bose
  Tue Aug 08, 2006 11:17 pm
Member
Is there anything that makes em all possible to win? Or does it just randomly hide numbers, possibly making an impossible puzzle?

_________________
Why hello there, tiny rabbit.[/FONT]


Top Top
 Profile  
 

rpgmaker
  Tue Aug 08, 2006 11:24 pm
Member
one question, does your script have a sudoku solver or do the user have to preprogram everything themselve such as the puzzle and the solution.

_________________
Check This Out

http://www.iomegatrix.com/Pictures/banner.png[/IMG]
http://i19.photobucket.com/albums/b169/ ... _image.gif[/IMG]
http://jbpatout.free.fr/psp%20owner%20glitch.gif[/IMG]


Top Top
 Profile  
 

SephirothSpawn
  Wed Aug 09, 2006 4:49 am
Support/RGSS Bitch
User avatar
Retired Staff

Location: Kansas City, Mo
@Paradox: All puzzles are solvable and it will test to see if you have an actuall possible solution. It creates the solution before you actually play, so it is solvable. Like you said, it just picks random cells depending on the show_cell argument you pass to the object. It is these shown cells and the player decisions that determine if you have it solved right.


@rpgmaker: It doesn't actually include a slover, but it does test for multiple solutions (based only off of the shown cells).

It does have the ability to print a solution file for the player in the Game folder. Making a Give Up so it solves would be nothing more than just reading the solution and redrawing over the window contents.

I have read into an actuall solver and got close, but never finished it, since for this, you wouldn't really need it, so I gave up.

I spent most of my time and focus on devising a way for the engine to come up with completely random but well working solutions. I thought it was pretty clever since I doesn't fail all the time (5% or so failure). It may take several retries, but it usually eventually gets it.


BTW, I have fixed a small bug. Use the script from the Script file, and not the demo.

_________________
I want to review your script!
I am always looking for scripts to look over and offer my advice on people's coding. If you want your script reviewed and to further develop your scripting skills, just put a [Review] tag in your topic. I will always post in any scripting topic marked [Review] offering whatever advice I can give.

Image


Top Top
 Profile  
 

Tsunokiette
  Wed Aug 09, 2006 5:21 am
Member
This mini game may turn out to be my new favorite way to pass-time.

I came close to finishing a puzzle, but screwed up near the end.


Top Top
 Profile  
 

panchokoster
  Sun Aug 13, 2006 3:39 am
Member
Seph, there is no way to change the number with the mouse?, something like your Minesweeper minigame

_________________
_____________________________________________
http://img85.imageshack.us/img85/4343/f ... 5tr7sk.gif[/IMG]Yeah!!,Miffy The Bunny


Top Top
 Profile  
 

SephirothSpawn
  Sun Aug 13, 2006 4:21 am
Support/RGSS Bitch
User avatar
Retired Staff

Location: Kansas City, Mo
No, I didn't want to get that into it. I have plenty to do as is, so it wasn't on my priority list.

_________________
I want to review your script!
I am always looking for scripts to look over and offer my advice on people's coding. If you want your script reviewed and to further develop your scripting skills, just put a [Review] tag in your topic. I will always post in any scripting topic marked [Review] offering whatever advice I can give.

Image


Top Top
 Profile  
 

rpgmaker
  Sun Aug 13, 2006 6:53 am
Member
You can use my code if you want
Expand to see the code.



To use Sudoku file, use this format

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

_________________
Check This Out

http://www.iomegatrix.com/Pictures/banner.png[/IMG]
http://i19.photobucket.com/albums/b169/ ... _image.gif[/IMG]
http://jbpatout.free.fr/psp%20owner%20glitch.gif[/IMG]


Top Top
 Profile  
 

Kest
  Sun Aug 13, 2006 8:28 am
Member
This would be a really bizarre puzzle for a dungeon.

_________________
Kestwiki - LU8.17.06


Top Top
 Profile  
 

horror999
  Sun Aug 13, 2006 11:13 am
Member
Wow. I love this game. You are such a god! Thank you very much.

_________________
http://i14.photobucket.com/albums/a311/ ... e-JPEG.jpg[/IMG]


Top Top
 Profile  
 

TheCheeze
  Fri Dec 29, 2006 12:53 am
Member
Your links are broken. :P


Top Top
 Profile  
 

SephirothSpawn
  Fri Dec 29, 2006 3:54 am
Support/RGSS Bitch
User avatar
Retired Staff

Location: Kansas City, Mo
Please visit my test bed topic. There is an updated script there.

I also just added a feature to use the mouse and keyboard module as well. Check when it says V.4 for that update.

CLOSED

_________________
I want to review your script!
I am always looking for scripts to look over and offer my advice on people's coding. If you want your script reviewed and to further develop your scripting skills, just put a [Review] tag in your topic. I will always post in any scripting topic marked [Review] offering whatever advice I can give.

Image


Top Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 14 posts ] 


Who is online

Users browsing this forum: No users and 3 guests


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

Jump to:  
cron

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Hosted By: