Author Topic: Grayscale Minesweeper  (Read 8561 times)

0 Members and 1 Guest are viewing this topic.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Grayscale Minesweeper
« 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
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Fallen Ghost

  • Guest
Grayscale Minesweeper
« Reply #1 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.

graywolf

  • Guest
Grayscale Minesweeper
« Reply #2 on: March 25, 2007, 05:59:00 am »
Wow! Nice game.  :king:king2.gif And yeah, you need to attach the file.  :Ptongue.gif

Offline dinhotheone

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 410
  • Rating: +2/-1
    • View Profile
Grayscale Minesweeper
« Reply #3 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.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Grayscale Minesweeper
« Reply #4 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.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Grayscale Minesweeper
« Reply #5 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?
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Grayscale Minesweeper
« Reply #6 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.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
Grayscale Minesweeper
« Reply #7 on: March 25, 2007, 05:54:00 pm »
Is this in Assembly or Basic? I'm just wondering.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Grayscale Minesweeper
« Reply #8 on: March 26, 2007, 04:12:00 am »
Uh, this is definitely is asm.  :)smile.gif
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline dinhotheone

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 410
  • Rating: +2/-1
    • View Profile
Grayscale Minesweeper
« Reply #9 on: March 26, 2007, 07:45:00 am »
i dont think you could even get a blank loop to run at 82fps in basic.

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Grayscale Minesweeper
« Reply #10 on: March 26, 2007, 09:39:00 am »
you can't lol
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
Grayscale Minesweeper
« Reply #11 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

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Grayscale Minesweeper
« Reply #12 on: March 26, 2007, 07:32:00 pm »
user posted image

[ot]I'll think about it Jon[/ot]
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Grayscale Minesweeper
« Reply #13 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
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline josephmarin

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 186
  • Rating: +0/-0
  • Shiny, lets be bad guys
    • View Profile
Grayscale Minesweeper
« Reply #14 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.
Burn the land, boil the sea, you can't take the sky from me