SE-NSE Forums:

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic
  • Bookmark

[elf] Minesweeperclone V1.4 Beta

#1 User is offline   Stonos Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,651
  • Joined: 27-December 06
  • Gender:Male
  • Location:Thessaloniki, Greece
  • Mobile:T630/K800
  • Tutorials Submitted:1

Posted 07 February 2009 - 06:32 AM

This is a Minesweeper clone.
If you don't know how to play Minesweeper, watch this video.

Posted Image

The red block is the selected block. Move it with the joystick or the 2/4/6/8 keys. Uncover a box by pressing 5, clicking the joystick or by pressing the left softkey. Flag a mine using the right softkey. Unflag it by pressing the right softkey again.

This elf was coded with multiple resolutions in mind, so it should work on all resolutions.
Keep in mind however, that you will always have to sweep 30 mines independent of the resolution.

Known bugs:
  • Counter doesn't automatically update
  • Gets very slow after playing for some time (happens because of all the numbers on the screen ... blah...)
  • Memory leaks
  • Random crashes

Posted Image


You can get the source code from ACEEL.
Developers: If you want to work on this elf, feel free to, however, please post in this thread before starting your work saying what you're going to do so that we don't end up working on the same thing! :p
Also, please don't add bcfg options yet. I want to add a custom configuration window. We'll see how this will turn out...

Information for v1.3
Information for v1.4

Have fun and please post feedback! :)

Attached File(s)


This post has been edited by Stonos: 20 July 2009 - 10:43 PM

0

#2 User is offline   jarankore Icon

  • Makes Se-nse
  • PipPipPipPip
  • Group: Members
  • Posts: 449
  • Joined: 07-January 09
  • Gender:Male
  • Location:Revealed from VIP
  • Mobile:Not phone but LG BRAVIA TV - 36 inch
  • Twitter:wedusgembel

Posted 07 February 2009 - 09:22 AM

Great elf....!!!

:rolleyes:

But, can the elf working on W810 ?
Posted Image
0

#3 User is offline   Stonos Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,651
  • Joined: 27-December 06
  • Gender:Male
  • Location:Thessaloniki, Greece
  • Mobile:T630/K800
  • Tutorials Submitted:1

Posted 07 February 2009 - 11:41 AM

View Postjarankore, on 2009-02-07 11:30, said:

Great elf....!!!

:rolleyes:

But, can the elf working on W810 ?

It should work.
Have you tried it?
0

#4 User is offline   black_mamba Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,330
  • Joined: 24-August 07
  • Gender:Male
  • Location:India
  • Mobile:None. Lost My Yari™ ...
  • Twitter:meth_aman

Posted 07 February 2009 - 01:33 PM

It's really nice.....
Total time pass Elf ;)
A2 Platform: A2 Permanent Patching| A2 CID-53 Patching| A2Uploader Usage| Debrand A2 Platform Phones

Other Tutorials: FAR JdFlasher (Flashing/Patching)| CID 53 Patching| Compilation of Tutorials(FAQ's)| Elfs Collection

Credits: Kaosblade,Krazyd007,LollyLost,Boysie,Blacklizard,Cchaos,Corman,thaproxinator ;)
0

#5 User is offline   hippy dave Icon

  • Se-nse-ual
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 836
  • Joined: 15-December 07

Posted 07 February 2009 - 02:07 PM

cool :)
i haven't tried it yet, but i noticed your description didn't mention one important feature from other versions, that would be worth including if you haven't already.
normally, if you press both mouse buttons on a number square, and you have already marked the right number of mines in the squares surrounding that number, then all the empty squares around it will be automatically cleared.
it doesn't sound like much but once you're in the habit it saves a lot of time over clicking the empty squares individually :)
pressing both softkeys at the same time on a phone might not be so convenient, or even work properly, so maybe you could do this using one of the normal keypad keys instead.

This post has been edited by hippy dave: 07 February 2009 - 02:08 PM

0

#6 User is offline   Planfrei Icon

  • n00b
  • Group: Members
  • Posts: 9
  • Joined: 12-November 08

Posted 07 February 2009 - 04:05 PM

Tried it, looks awesome. However I have cleared all clearable fields and so had to mark the mines to win. I did that but on at having done half of it, my phone restarted :D
0

#7 User is offline   Stonos Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,651
  • Joined: 27-December 06
  • Gender:Male
  • Location:Thessaloniki, Greece
  • Mobile:T630/K800
  • Tutorials Submitted:1

Posted 07 February 2009 - 08:28 PM

View Postblack_mamba, on 2009-02-07 15:41, said:

It's really nice.....
Total time pass Elf ;)

Thanks :)

View Posthippy dave, on 2009-02-07 16:15, said:

cool :)
i haven't tried it yet, but i noticed your description didn't mention one important feature from other versions, that would be worth including if you haven't already.
normally, if you press both mouse buttons on a number square, and you have already marked the right number of mines in the squares surrounding that number, then all the empty squares around it will be automatically cleared.
it doesn't sound like much but once you're in the habit it saves a lot of time over clicking the empty squares individually :)
pressing both softkeys at the same time on a phone might not be so convenient, or even work properly, so maybe you could do this using one of the normal keypad keys instead.

I'll see what I can do, thanks for the suggestion :yes:

View PostPlanfrei, on 2009-02-07 18:13, said:

Tried it, looks awesome. However I have cleared all clearable fields and so had to mark the mines to win. I did that but on at having done half of it, my phone restarted :D

I've thought about adding the ability to clear all the other blocks to win, but this would have probably made the elf even slower than it is. Not sure, I'll see what can be done about it.
About the crashing problem, I know that the phone will randomly crash, but I don't know why exactly this happens <-<
0

#8 User is offline   Stonos Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,651
  • Joined: 27-December 06
  • Gender:Male
  • Location:Thessaloniki, Greece
  • Mobile:T630/K800
  • Tutorials Submitted:1

Posted 09 February 2009 - 06:23 PM

Updated MinesweeperClone to v1.3
Changes:
-Added hippy dave's suggestion: "normally, if you press both mouse buttons on a number square, and you have already marked the right number of mines in the squares surrounding that number, then all the empty squares around it will be automatically cleared". Press the asterisk key to see it in action.
-Selected block is now transparent
-Selected block can not move out of the screen now.
-Fixed support for 176x220 phones
-You can now flag a mine by pressing the number sign (#) key
-You can not uncover flagged mines now.
-A flagged mine won't disappear if an empty block is behind it
-Improved speed a little

This post has been edited by Stonos: 09 February 2009 - 06:37 PM

0

#9 User is offline   hippy dave Icon

  • Se-nse-ual
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 836
  • Joined: 15-December 07

Posted 10 February 2009 - 01:31 AM

tried it, looking great :D thanks for implementing my suggestion, it's working well.
couple of things i noticed - if i either win the game or accidentally click on a mine, after the message pops up ("you're winner"/"you're loser"), it returns to the game and keeps going, rather than restarting. i haven't found a way to restart the game other than to exit the elf and reload it.
one time when i reloaded the elf, the phone rebooted. hasn't happened again yet tho.

other than that, all good! i would like to see an option for how many mines there are to be found, but i'm sure you have that planned already. keep up the good work!
0

#10 User is offline   Stonos Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,651
  • Joined: 27-December 06
  • Gender:Male
  • Location:Thessaloniki, Greece
  • Mobile:T630/K800
  • Tutorials Submitted:1

Posted 10 February 2009 - 10:41 PM

View Posthippy dave, on 2009-02-10 03:39, said:

tried it, looking great :D thanks for implementing my suggestion, it's working well.
couple of things i noticed - if i either win the game or accidentally click on a mine, after the message pops up ("you're winner"/"you're loser"), it returns to the game and keeps going, rather than restarting. i haven't found a way to restart the game other than to exit the elf and reload it.
one time when i reloaded the elf, the phone rebooted. hasn't happened again yet tho.

other than that, all good! i would like to see an option for how many mines there are to be found, but i'm sure you have that planned already. keep up the good work!

Well, if you lose, you can't win because you can't flag the mine you blew up! :D
Seriously now, I know about it, and I will probably do something about it in the next version. Thanks for reporting :)

I don't know about the random restarts. I have many checks to make sure that the phone won't crash, but apparently it does sometimes :(

If you have IAR then you can easily change the number of mines by editing (check board.h line 5). However, it seems that a low number of mines makes the phone crash. I think the problem is on the function that uncovers the adjacent empty blocks. But like I said, I've some checks there to make sure that the phone won't crash. I'll have to look at it more closely I guess...
0

#11 User is offline   Stonos Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,651
  • Joined: 27-December 06
  • Gender:Male
  • Location:Thessaloniki, Greece
  • Mobile:T630/K800
  • Tutorials Submitted:1

Posted 16 July 2009 - 09:52 PM

Finally, MinesweeperClone v1.4 is here! :)

Changes from v1.3:
  • Icons will now be used where appropriate (flag, mine, incorrect flagged mine (appears when you lose)) instead of numbers or letters (stolen from Microsoft Windows pre-Vista Minesweeper versions). Also included the original YOU'RE WINNER image when you win.
  • You will now be able to see the mines you didn't flag if you lose. You will also be able to see which blocks (if any) you flagged incorrectly as mines in case you lose.
  • Small optimizations


The attachment is at the first post. New screenshots also on the first post.

NOTE: Make sure you have at least 22KB free memory in your phone!
0

#12 User is online   Boysie Icon

  • Member of the year 2009 - Scotsboys' Award winner 2009
  • Icon
  • Group: SE-NSE Awards '09
  • Posts: 9,382
  • Joined: 31-July 08
  • Gender:Male
  • Location:Approx. 6.8 miles down the M3 from cchaos or exactly 268 miles from Corman! :D
  • Mobile:Pimped Wilma!

Posted 16 July 2009 - 09:56 PM

Thanks man. Some nice improvements. :good:
For helpful posts please use this...Posted Image...Thanks! ;)
Keeping K series modding alive: Amir_82111, mc_kibel & Pro - Respect! ;)
0

#13 User is offline   firoz3321 Icon

  • Non-se-nse
  • PipPipPip
  • Group: Members
  • Posts: 119
  • Joined: 29-August 08
  • Gender:Male
  • Location:INDIA
  • Mobile:K800i CID53 R8BF003

Posted 17 July 2009 - 01:30 PM

Really nice.

I just didn't know how to EXIT in the version 1.3. :blink:

I didnt try the 1.4 yet though.

Really great time pass ... :byebye:
0

#14 User is offline   Stonos Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,651
  • Joined: 27-December 06
  • Gender:Male
  • Location:Thessaloniki, Greece
  • Mobile:T630/K800
  • Tutorials Submitted:1

Posted 17 July 2009 - 01:48 PM

View Postfiroz3321, on 2009-07-17 15:38, said:

Really nice.

I just didn't know how to EXIT in the version 1.3. :blink:

I didnt try the 1.4 yet though.

Really great time pass ... :byebye:

You can either use BookManager or you can long-press the back button :)
0

#15 User is offline   firoz3321 Icon

  • Non-se-nse
  • PipPipPip
  • Group: Members
  • Posts: 119
  • Joined: 29-August 08
  • Gender:Male
  • Location:INDIA
  • Mobile:K800i CID53 R8BF003

Posted 17 July 2009 - 03:48 PM

View PostStonos, on 2009-07-17 19:26, said:

You can either use BookManager or you can long-press the back button :)


Hey LONG PRESS is good.

Thanks
0

SE-NSE

#16 User is offline   hippy dave Icon

  • Se-nse-ual
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 836
  • Joined: 15-December 07

Posted 15 August 2009 - 01:34 PM

great improvement, thanks :D
it would be good if it could detect when you have won by clearing all the empty squares, even if you have not marked all the mines. i don't know how much harder that would be...
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic
  • Bookmark

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users