Computer Science Canada [Puzzles] Puzzle Launcher Added - Kevin Folz |
Author: | Cervantes [ Mon Mar 22, 2004 8:44 pm ] |
Post subject: | [Puzzles] Puzzle Launcher Added - Kevin Folz |
CERVANTES' PUZZLES!
You can now download Kevin's (the_short1's) launcher here. It contains all the puzzles and you can play them again and again without having to rerun the program!! ![]() So far I've made four puzzles. ~~>Green Screen - my first puzzle program. Inspired by the "Green Screen" in MOTAS (check out Paul's thread about MOTAS here. ~~>Number Shift - This is the puzzle where there is one empty spot in your grid, and you have to move the squares around, using that empty square, to get the numbers in order. ~~>N Queens - This is the game where you take 8 queens and try to place them on a chess board so that they are all safe from each other (no two are in the same row / column / diagonal). ~~> Odd Even Path - In this puzzle there is a large grid; each grid square has a value from 1 to 10 attached to it. You pick a spot to start, and move into squares that are adjacent to you. However, if you started on an odd number, you can only go to odd numbers after that. If you started on even, you can only go to even numbers. When you move into a square, your score is increased by the value of that square. try to get the highest score possible! The HIGH SCORE for OE path as of April 11, is 400 by Catalyst. Congrats! ![]() Cheers |
Author: | jonos [ Mon Mar 22, 2004 8:49 pm ] |
Post subject: | |
cool game!!! i can't seem to win though... i haven't won so i don't really know how it takes too long to check if you've won... but it looks fine to me. |
Author: | Delos [ Mon Mar 22, 2004 8:59 pm ] | ||
Post subject: | |||
Nice...some mouse problems...mainly due to those accursed delays not being the same on all comps. Easily fixed though! In your main loop (the one w/ Moues.Where), take out your delay. In your drawgrid proc, add a Time.Delay at the end of it...say about 100. You can always add a variable refernce to it so that it can be changed at the top... Otherwise works real well...checking can be done like this:
BTW, the least I can get it to is 2 black tiles. Seeing as the MOTAS one ended w/ 4 black tiles, I'd say that 2 is a safe bet to end it at...seeing as a total conversion is practically (perhaps mathamatically) impossible. |
Author: | AsianSensation [ Mon Mar 22, 2004 9:14 pm ] |
Post subject: | |
+bits, though I should give too much since this did keep me from doing my compsci homework for 10 minuts.... anyways, +15 bits oh wait, you are mod....oh well, still plus bits. |
Author: | Cervantes [ Mon Mar 22, 2004 9:21 pm ] |
Post subject: | |
I think that that makes it worse.. (about the Time.Delay placement) if you have it delay EVERY loop, then there is a chance (smaller chance for smaller delay) that you will click while the delay is going, and your click will not be registered. However, my way, every click will be registered. Also, having the delay inside the if statement of btn > 0 prevents the click from being registered a ton of times. It is, still, however, somewhat buggy at times. i know no way of fixing it. oh and I'm not sure if you can actually win in a 6x6 grid. Haven't tried too hard myself ![]() |
Author: | AsianSensation [ Mon Mar 22, 2004 9:41 pm ] |
Post subject: | |
you can always use Mouse.ButtonWait... |
Author: | Cervantes [ Mon Mar 22, 2004 10:23 pm ] |
Post subject: | |
interestingly enough I've never used Mouse.ButtonWait before. Works beautifully though! ![]() oh also the furthest I've been able to get it down to on 6x6 is 2. Above code is altered. |
Author: | programer007 [ Tue Mar 23, 2004 8:11 am ] |
Post subject: | |
nnice stuff..... i got to one black square on the rectangle shaped one..... good program. |
Author: | Cervantes [ Tue Mar 23, 2004 3:48 pm ] |
Post subject: | |
nice. getting it down to one is pretty tricky. I update the first post. Its now in attachement for for easier scrolling. I also added on a feature that allows you to have blank spaces in the puzzle. Finally, I changed it so that you win when you only have 1 black square left. Enjoy. |
Author: | Cervantes [ Fri Mar 26, 2004 9:10 pm ] |
Post subject: | |
Added a new puzzle I call 'Number Shift'. Check first post. |
Author: | the_short1 [ Fri Mar 26, 2004 10:45 pm ] |
Post subject: | |
WOW... i won at both...!!! COOL!!! second ting,.l.. Cervants.. I LOVE deese.... keep them comming.... cant wait for the next one.... ***try to create a super hard mode lets say press h to enter hard mode (at start of game) so its longer and more difficult... dont get me wrong... urs is difficult... its just i have the exact method of doign those... (ive done those b4) the number shift... that gree screen is da bomb/// + 10 BITS!!! but ur a mod..!! here is my win scrneen in case u dumbt me |
Author: | Cervantes [ Sat Mar 27, 2004 9:28 am ] |
Post subject: | |
glad you liked them ![]() I'll gladly make more, I just need the idea for another puzzle ![]() anyone got any suggestions? |
Author: | the_short1 [ Sat Mar 27, 2004 11:44 am ] |
Post subject: | |
heres an idea...... im the ideas man lately.... cool stuf... basically make the green screen program having all those boxes.. except having to order them matching colors on all sides.... here is a pic ture represnetation.... also if you download the .zip file... my idea is that game, but colors to match.. not numbers / letters also have game modes for 3x3, 4x4 and ultra hard 5x5 cuz this game idea would be hard at a highamount of boxes.... also being able to clcik + drag them mite be nicer because of the supreme dificulty... -kevin |
Author: | Cervantes [ Sat Mar 27, 2004 12:00 pm ] |
Post subject: | |
the zip ain't working. Need the winutil.DLL file it says. cool idea ![]() ![]() There are two ways of doing this: click and drag the boxes into place, or have them already in place and you spin them. Let me know which you think would be better, I'm going to start building the basis of the game. EDIT: or a combination of both ![]() |
Author: | Cervantes [ Sat Mar 27, 2004 4:06 pm ] |
Post subject: | |
interesting. That's actually rather difficult. I thought up another puzzle to make though in the mean time while i think about yours. Its based on the game where you have a chess / checkers board and 8 pawns / checkers pieces and you have to arrange them so that no 2 are on the same row, column, or diagonal. The hard part is the checking for a victory. Lots of for statements goin' on right now ![]() |
Author: | Delos [ Sat Mar 27, 2004 4:31 pm ] | ||
Post subject: | |||
Suggestion: (for the number shift game).
|
Author: | Cervantes [ Sat Mar 27, 2004 5:14 pm ] |
Post subject: | |
that's interesting. under colourback, take out cls, and the put string appears. leave it in, and it does not. interesting..... ![]() |
Author: | the_short1 [ Sat Mar 27, 2004 8:33 pm ] |
Post subject: | |
Wha? anyways ... the reason the zip file dont wokr is.. its cuz u need to have weputil.dll in windows directory to play the game... itook it from a huge collection that gets installed into computer... so... here: put this file in C:\windows <<even if thats not ur Win directory, it is mine, and that is where it will look |
Author: | Cervantes [ Sat Mar 27, 2004 8:57 pm ] |
Post subject: | |
thx, I'll test it out in a bit. New puzzle added!! "N Queens". My friend (zeldamaster123) told me that OOT 3.1.1 has this program as an example. That pissed me off, since I don't have OOT ![]() |
Author: | the_short1 [ Sat Mar 27, 2004 9:38 pm ] |
Post subject: | |
yea... i like the N-Queens... very neat...very HARD.... i only got 7 queens... i tried for like 7 minutes with different combos..... i cant get past taht... ![]() also... i have a small suggestion it should stop letting you place queens after u have 8... i was able to place like 12 of them...**then i stoped** |
Author: | Paul [ Sat Mar 27, 2004 9:43 pm ] |
Post subject: | |
I have this program, in java that puts 8 queens on the board, I got tired of watching it after it got to 45 solutions. if anyone has java runtime, they can run this jar file. |
Author: | Cervantes [ Sat Mar 27, 2004 9:50 pm ] |
Post subject: | |
hehe nope you can win. ![]() And i think there is more than 1 way to do it. I haven't tried much for anything other than 8x8 grid, but I know that 2x2,3x3,and 4x4 cannot be done. |
Author: | Paul [ Sat Mar 27, 2004 9:51 pm ] |
Post subject: | |
and so... the first solution out of many many many ones: ![]() if you can't see this, refresh till you can, and I assume since it says finished, I must have won. |
Author: | the_short1 [ Sun Mar 28, 2004 12:22 am ] |
Post subject: | |
good job.... !!!! i cant even do that and so far i have been able to do all of cervants puzzles.... dam... i going to have to figure out a new one and post it |
Author: | Cervantes [ Sun Mar 28, 2004 1:28 pm ] |
Post subject: | |
New Puzzle Added - Odd Even Path. This is my favorite one yet ![]() My highscore is 176. |
Author: | Paul [ Sun Mar 28, 2004 2:14 pm ] |
Post subject: | |
AH, I can't get past 126. |
Author: | the_short1 [ Sun Mar 28, 2004 2:52 pm ] |
Post subject: | |
OE PATHS !!! THAT ROCKS!!! hard at first... maybe consider putting 2 liens to the screen "To play This is how u play" or w/e.. after i figured it out... my highest score is: 190 here is a picture, i misclicked so my score says 81, but the second picture posted was my plan of action, and i added it up with Calculator and it is 190... I LOVE THESE PUZZLES!!!!! EDIT: Cervants that window of ur highscore conataines a score higher then mine...... here is what you could have done... this increases your score by like 60 to 240!!!! u beat me!!!.. but u didnlt go this path ... so ![]() |
Author: | zylum [ Sun Mar 28, 2004 3:15 pm ] |
Post subject: | |
![]() ![]() ![]() ![]() |
Author: | the_short1 [ Sun Mar 28, 2004 3:21 pm ] |
Post subject: | |
leave it to zylum.... hell beat it .... but... realy its all up to the randomize... anyways.... zylum.... FYI... ur did ur picture wrong.... u have it [/img] for first tag.... remove the slash... only need slash on last tag |
Author: | zylum [ Sun Mar 28, 2004 3:25 pm ] |
Post subject: | |
i dunno what you're talking about 8) thank god for the edit button ![]() -zylum |
Author: | Delos [ Sun Mar 28, 2004 3:55 pm ] |
Post subject: | |
N-Queens...meh. I learnt about that over summer at UofT. And now I see it again. Good job. Like the oddEven proggie...it fun. |
Author: | the_short1 [ Sun Mar 28, 2004 4:50 pm ] |
Post subject: | |
delos... how u learn about taht ay UofT.. they teach it there??? im confused/./ and zylum.... hmm./... i wonder was u posted and decided to change/... hmm/// -kevin |
Author: | Cervantes [ Sun Mar 28, 2004 6:48 pm ] |
Post subject: | |
![]() ![]() I like my game ![]() and slick Zylumn, slick. 8) |
Author: | Cervantes [ Mon Mar 29, 2004 6:03 pm ] |
Post subject: | |
ouch Zylum. You got owned ![]() ![]() if anyone has any ideas for any other puzzles for me to make, post away. short1 -> yours would take a while so I'll do that later if I get around to it. Tony's got some awesome ideas for my evasive maneuvers, so Im working on that now, and any puzzles that I figure I can do fairly quickly. |
Author: | Catalyst [ Mon Mar 29, 2004 6:24 pm ] |
Post subject: | |
eat that ![]() |
Author: | the_short1 [ Mon Mar 29, 2004 6:48 pm ] |
Post subject: | |
holy crap catalyst... all bow down to ur greatness |
Author: | zylum [ Mon Mar 29, 2004 10:20 pm ] |
Post subject: | |
ouch ![]() btw cervantes, try making the game called irked... try searching google for the basic idea fo the game... it's really fun, i used to play it for hours a while ago. might be a bit tougher to make than the other ones you made. -zylum |
Author: | the_short1 [ Tue Mar 30, 2004 8:19 am ] |
Post subject: | |
try to make this game by Sun microsystems... its in that little webstart app// |
Author: | Cervantes [ Tue Mar 30, 2004 9:06 am ] |
Post subject: | |
so.. you and the comp start in opposite sides and you have to get to the other side (where the other person started) first? Wouldnt the person who goes first always win? that diagram is kinda confusing. ![]() |
Author: | jonos [ Tue Mar 30, 2004 10:24 pm ] |
Post subject: | |
i think the game is called "militaryapp", but there are certain things that you have to do first. you have 3 guys that you get to move around, and you have to try to trap the red guy, but you can't move backwards, and its pretty hard too against the comp. tell me if you want a screenshot. |
Author: | the_short1 [ Tue Mar 30, 2004 10:43 pm ] |
Post subject: | |
right.... 3 guys each... and !!!! yay!!! TY JONOS!!!! that name was starting to bug me... i couldn;t figure out the name... srry i have great ideas but its hard to explain.... anyways... taht colormatch aint taht hard.... draging a square.... but the if statements mite be a page long... o know... u acually have to type.... hehehe ![]() ![]() |
Author: | Cervantes [ Sun Apr 11, 2004 10:26 am ] |
Post subject: | |
Puzzle Launcher added, courtesy of short1. see original post. |