Author Topic: CSE minesweeper  (Read 5589 times)

0 Members and 1 Guest are viewing this topic.

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
CSE minesweeper
« on: September 26, 2013, 05:27:38 pm »

I have been working on a minesweeper clone for the Ti-84+CSE, and have it almost finished.
Things I have finished:
-10x10 board, set for variable width; but height will stay 10
-Random mines; variable amounts
-Algorithm that sets each square a specified number according to how many mines are touching it
-Draws board
-Movable cursor
-Flags can be placed
-Pressing [2nd] "turns on" square and displays value
-Flags can be unplaced (pressing on a set flag will return it to flag inventory
-Flagged mine counter
-User loses when pressing on a mine

Things to do:
-Make selectable levels; easy, medium, hard
-Make the smiley face
-Timer
-High score table


Anybody have any suggestions? Want to see a specific thing? Please tell me!
I will post a screenshot later tonight.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: CSE minesweeper
« Reply #1 on: September 26, 2013, 11:56:34 pm »
Interesting. Is this for the Omni contest or are CSE programs disallowed?

I can't wait for a screenshot :)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline JamesV

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 276
  • Rating: +77/-0
    • View Profile
    • James V's TI-Calculator page
Re: CSE minesweeper
« Reply #2 on: September 27, 2013, 12:26:50 am »
Sounds great zeldaking! Minesweeper is a perfect choice for an 84+CSE game.

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: CSE minesweeper
« Reply #3 on: September 27, 2013, 01:09:08 am »
Interesting. Is this for the Omni contest...
No it is not. Just a small project. It was really fun to make. Having been my first minesweeper game I have made on my own, I don't consider making minesweeper using an xlib tutorial my own.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: CSE minesweeper
« Reply #4 on: September 27, 2013, 04:51:10 am »
Nice, minesweeper is always a lot of fun :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: CSE minesweeper
« Reply #5 on: September 27, 2013, 11:58:04 am »
Alright here are two screenshots:
10 mines:

50 mines: (extremely difficult)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: CSE minesweeper
« Reply #6 on: September 27, 2013, 12:38:01 pm »
Looking awesome!
Will you abe able to set a smaller field later on?

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: CSE minesweeper
« Reply #7 on: September 27, 2013, 04:07:07 pm »
That's a good idea, I hadn't thought of that, although all my code is set for variable width and height. So yeah, I'll definetly put smaller playing grids.

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: CSE minesweeper
« Reply #8 on: September 27, 2013, 09:47:55 pm »
I know it is within 24 hours, but this is a picture update, I'd rather post a new post than edit the top original post as to show progression.
User select-able size and levels; 5 level types: Easy 10% squares are mines, Medium 20%, Hard 30%, Pro 50%, and Custom which the user can pick his own # of mines albeit high scores in custom won't be on the high score table.

---------
New features: Smiley face, timer and variable size board. In this case 5x5 (which is the smallest available size).

---------
8x8 board showing off the timer again, and Med difficulty

---------
10x10 board on Pro difficulty. Pretty challenging.

---------

Things still to do:
-high score table; top score per board per difficulty. Maybe make top 3 scores?
-option to pause
-option to restart
-option to replay once game is finished by either winning or losing
-option to view high scores

Does anyone want to test it out for me? I am a bit biased on how it plays. Any testers? I can pm you the files.

Annnnddd any suggestions?

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: CSE minesweeper
« Reply #9 on: September 28, 2013, 01:08:03 am »
Looks nice! I use to play that game a lot! Does that game still come with Windows?

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: CSE minesweeper
« Reply #10 on: September 28, 2013, 01:36:03 am »
As for testers, let's just say my mom knows how to play minesweeper now. Haha.
As for minesweeper coming with windows, I know it did with early OS's but I'm not sure for windows 8. I have w8 but haven't looked for it. I might do that tomorrow.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: CSE minesweeper
« Reply #11 on: September 28, 2013, 02:36:00 am »
Looking awesome! :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: CSE minesweeper
« Reply #12 on: September 28, 2013, 02:47:32 am »
Looks pretty good indeed :)
Aren't the smiley's side bars a bit off ?

I've spread the word over at TI-Planet, so as to hopefully attract more beta-testers.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: CSE minesweeper
« Reply #13 on: September 28, 2013, 09:28:40 am »
As for testers, let's just say my mom knows how to play minesweeper now. Haha.
As for minesweeper coming with windows, I know it did with early OS's but I'm not sure for windows 8. I have w8 but haven't looked for it. I might do that tomorrow.

well, I have win8 too, and I never found that game  D:
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: CSE minesweeper
« Reply #14 on: September 28, 2013, 09:38:31 am »
Yeah regarding the smiley, the bars are off. I'm not sure how to draw thick lines. I will have to fix that.
« Last Edit: September 28, 2013, 09:38:46 am by zeldaking »