Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: calc84maniac on March 24, 2007, 09:04:00 pm

Title: Grayscale Minesweeper
Post by: calc84maniac on March 24, 2007, 09:04:00 pm
I am working on a grayscale minesweeper game (well duh).

Current screenshot:
user posted image

Current version attached.

Btw I am estimating 82 fps on an 84+SE! :w00t:woot.gif
Title: Grayscale Minesweeper
Post by: Fallen Ghost on March 25, 2007, 12:39:00 am
Attached? I see no attached file...

Great, a timer! Now we need the number of mines that are unknown.
Title: Grayscale Minesweeper
Post by: graywolf on March 25, 2007, 05:59:00 am
Wow! Nice game.  :king:king2.gif And yeah, you need to attach the file.  :Ptongue.gif
Title: Grayscale Minesweeper
Post by: dinhotheone on March 25, 2007, 06:47:00 am
how do you make it so that when click on an empty space with no bombs around it, it hits every empty space that it is adjacent to it, then hits all spaces adjacent to all the spaces that are empty and so on. aka when you hit one spot and multiple spots are uncovered (if you were confused by m description). i tried making a minesweeper in basic but that part of the game never worked with any speed, yours seems to go lightening fast, is there some way you could explain the alg you used? or is it just one of those asm>basic times?


btw the game looks really cool, i like the timer's font especially.
Title: Grayscale Minesweeper
Post by: calc84maniac on March 25, 2007, 07:59:00 am
Sorry, file is attached now. And I used a recursive algorithm, pretty much it uncovers the 8 around it and when it hits a space it saves the current position and calls the routine for the space you hit.
Title: Grayscale Minesweeper
Post by: Halifax on March 25, 2007, 01:37:00 pm
82 FPS!!!! That's crazy dude! How do you calculate FPS? Like what kind of an Assembly routine do you use?
Title: Grayscale Minesweeper
Post by: calc84maniac on March 25, 2007, 03:22:00 pm
I tweaked the number of times it had to go through the loop before updating the timer until it was synchronized with my watch, and it ended up as 82 times.
Title: Grayscale Minesweeper
Post by: Jon on March 25, 2007, 05:54:00 pm
Is this in Assembly or Basic? I'm just wondering.
Title: Grayscale Minesweeper
Post by: calc84maniac on March 26, 2007, 04:12:00 am
Uh, this is definitely is asm.  :)smile.gif
Title: Grayscale Minesweeper
Post by: dinhotheone on March 26, 2007, 07:45:00 am
i dont think you could even get a blank loop to run at 82fps in basic.
Title: Grayscale Minesweeper
Post by: Halifax on March 26, 2007, 09:39:00 am
you can't lol
Title: Grayscale Minesweeper
Post by: Jon on March 26, 2007, 06:52:00 pm
Not to pry, but are you interested in helping me with DK?  It's a really daunting task, and the extra help would be much appreciated.
Anyways, minesweeper looks frikin awesome, nice work! :king:king2.gif
Title: Grayscale Minesweeper
Post by: calc84maniac on March 26, 2007, 07:32:00 pm
user posted image

[ot]I'll think about it Jon[/ot]
Title: Grayscale Minesweeper
Post by: calc84maniac on April 05, 2007, 01:05:00 am
*bump*

Now I added the ability to enter in your initials when you get a high score, and I added smooth mouse scrolling!

user posted image
Title: Grayscale Minesweeper
Post by: josephmarin on April 05, 2007, 04:52:00 am
=o absolutely beautiful work ^_^ 82 fps? amazing! I'll definately download this when i get to my house.
Title: Grayscale Minesweeper
Post by: Halifax on April 05, 2007, 08:03:00 am
very nice I love how you are putting grayscale spins on the old favorites and actually making it great. Good job!
Title: Grayscale Minesweeper
Post by: calc84maniac on April 05, 2007, 10:25:00 am
Get it here!
http://otbp.freehostia.com/files/OTBPMINE.8xp
Right click and select "Save link as..." or equivalent.
Title: Grayscale Minesweeper
Post by: bfr on April 05, 2007, 12:54:00 pm
Cool!  

*bfr deletes the old beta and downloads the new one

EDIT:  Very good!  Just one problem though - I don't know what exactly I did, but somehow, when I would select a certain square, the one next to it would get selected.  The first time this happenned, the square below the arrow would get selected, and the next time, the square to the left would get selected.  
Title: Grayscale Minesweeper
Post by: calc84maniac on April 07, 2007, 05:29:00 am
New title screen!

user posted image

And bfr, I will try to reproduce that bug.
Title: Grayscale Minesweeper
Post by: calc84maniac on April 17, 2007, 02:06:00 pm
Grayscale Minesweeper 1 has now been added to ticalc's queue! :Dbiggrin.gif There are 184 files in the queue now though, so it may be a while before you see it. :(sad.gif
Title: Grayscale Minesweeper
Post by: Delnar_Ersike on April 18, 2007, 09:33:00 am
Cross you fingers for a featured program and maybe a POTY!
Title: Grayscale Minesweeper
Post by: Halifax on April 18, 2007, 11:35:00 am
I think it should be guarenteed featured and if not I will suggest it but I don't think it will be POTY due to the big hitters that might be releasing this year. Zelda, Super Smash Bros., Metroid, The Massacre(shameless plug).
Title: Grayscale Minesweeper
Post by: Delnar_Ersike on April 18, 2007, 12:11:00 pm
QuoteBegin-Halifax+18 Apr, 2007, 17:35-->
QUOTE (Halifax @ 18 Apr, 2007, 17:35)
I think it should be guarenteed featured and if not I will suggest it but I don't think it will be POTY due to the big hitters that might be releasing this year. Zelda, Super Smash Bros., Metroid, The Massacre(shameless plug).  

 Well, let's put it this way:
Spencer's Zelda- Well, he and Jim e said that they need to finish their emulator before more progress on Zelda can be made, and that might take some time
Super Smash Bros- We rarely see any new updates in SSB these days, but maybe during the summer tr1p will have more time to work on it.
Metroid- If you are talking about the assembly one, it probably never will be released, except if one of the MaxCoderz staff suddenly decides to pick up the source and work on it. If you are talking about CDI's, come on, he announced the development of it in February, it probably will take more than 2/3 of a year to finish.
The Massacre- *Delnar_Ersike
Title: Grayscale Minesweeper
Post by: Speler on April 18, 2007, 01:39:00 pm
I spoke with CDI a while back, he said he was going to get started working on that again when something happens (not sure what, but it was a good excuse).
Title: Grayscale Minesweeper
Post by: Jon on April 18, 2007, 05:12:00 pm
One thing calc84maniac hasn't pointed out, which i think he should point out because its frikin' amazing, is that this was made in on-calc ASM :)smile.gif
Title: Grayscale Minesweeper
Post by: graywolf on April 19, 2007, 11:03:00 am
Wow! That's intense.
Title: Grayscale Minesweeper
Post by: bfr on April 19, 2007, 12:51:00 pm
And he used his own on-calc assembler that he made (I think), which adds to the awesomeness.  :)smile.gif
Title: Grayscale Minesweeper
Post by: calc84maniac on April 20, 2007, 01:15:00 am
Yes, I made it. :)smile.gif But I had to mod it extensively to get it to assemble a program as big as Minesweeper. :Ptongue.gif It takes over 15 minutes to assemble...
Title: Grayscale Minesweeper
Post by: calc84maniac on May 07, 2007, 04:05:00 am
http://www.ticalc.org/archives/files/fileinfo/398/39854.html
Title: Grayscale Minesweeper
Post by: calc84maniac on May 08, 2007, 10:57:00 pm
*calc84maniac faints
user posted image
Title: Grayscale Minesweeper
Post by: Delnar_Ersike on May 09, 2007, 04:08:00 am
Hehe, time for me to vote for it, too *dusts off hands*! :Ptongue.gif
Title: Grayscale Minesweeper
Post by: dinhotheone on May 09, 2007, 02:46:00 pm
idk, it still says 8.9/10 and 4 votes even after i voted....
edit:also, you guys are forgetting AOC2 for poty, i hope anyway, i cant remember if he gave an estimated time of realease but he says hes working on it again.
Title: Grayscale Minesweeper
Post by: calc84maniac on May 09, 2007, 03:59:00 pm
It doesn't get updated instantly...
Title: Grayscale Minesweeper
Post by: dinhotheone on May 10, 2007, 09:56:00 am
ahh, i see, didnt know that.

edit do avoid doble post

found a bug, if you hold y= and press a direction, then the picture wont move but the handle will so if you press right while holding y= then when you press enter you will uncover the spot to the right of the cursor.
btw this is bfr's bug
Title: Grayscale Minesweeper
Post by: Harrierfalcon on May 24, 2007, 05:24:00 pm
It's tied with MOS!!!
user posted image
Title: Grayscale Minesweeper
Post by: graywolf on May 25, 2007, 03:02:00 am
WOW! Good job!  :king:king2.gif
Title: Grayscale Minesweeper
Post by: Halifax on May 25, 2007, 08:16:00 am
I don't get weighted average. How does GM only get 23 votes while MOS gets 245 and they are equal???????
Title: Grayscale Minesweeper
Post by: bfr on May 25, 2007, 10:16:00 am
Because it's the http://en.wikipedia.org/wiki/Average. :Ptongue.gif
Title: Grayscale Minesweeper
Post by: calc84maniac on May 25, 2007, 04:22:00 pm
*calc84maniac faints again...
Title: Grayscale Minesweeper
Post by: Liazon on May 26, 2007, 03:31:00 am
Congrats man!!!