Register

CPMines - Classpad fx-CP400 minesweeper basic

Topics on released projects. Only the author of a program should start a topic on it.
Senior Member
Posts: 369
Joined: Tue Jan 03, 2012 11:24 pm
Calculators: Casio Afx 1.0, Casio fx-9860 GII SD, Casio Classpad 330, Casio fx-CG 20, Casio Classpad fx-cp400

CPMines - Classpad fx-CP400 minesweeper basic

Postby helder7 » Mon Jul 22, 2013 12:30 am

I started working on this minesweeper even before I had a fx-CP400. I've been a bit busy and have not had much time to finish this month.
Although the basic interpreter is slow, currently there is no alternative that it to program the classpad II so I decided to finish it. I have lost a little motivation due the slow speed for exemple of the Getkey command but I had already put some work into this game and I do not want to waste it.

What is done:
-> Random board generation [9x9] with possibility of choose how many mines you want.
-> Floodfill to show all empty spaces
-> "Game over" detection
-> Graphics (board, numbers with different colors... see the screenshot below)

To do until the release:
-> Create a win detection
-> Try to optimize a bit the code

I will not implement Flags (at least in this release) to avoid clean the screen and/or use GetKey (is slow).

Image

I'll try to finish the game (To do list) this week, if I have enough time. :thumbup:

The game will be slow of course, but this way you will have more time to think (just kidding). :D
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Senior Member
Posts: 369
Joined: Tue Jan 03, 2012 11:24 pm
Calculators: Casio Afx 1.0, Casio fx-9860 GII SD, Casio Classpad 330, Casio fx-CG 20, Casio Classpad fx-cp400

Re: CPMines - Classpad fx-CP400 minesweeper basic

Postby helder7 » Wed Jul 24, 2013 12:42 am

I finished today my to do list posted in the previous post. I implemented win detection and did a small optimization of the original code.

I uploaded the version v0.1 here.

Below is a simple animated gif of the game in action:
Image

Note that the emulator is more fast than calculator and the gif was recorded on the emulator.
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Junior Member
Posts: 1
Joined: Thu Aug 15, 2013 6:34 pm
Calculators: Casio Cfx Series

Re: CPMines - Classpad fx-CP400 minesweeper basic

Postby Tool » Thu Aug 15, 2013 7:49 pm

Hello helder7,

I developed your CPMines.

To make it faster, I had to throw out your nice color numbers and your floodfill, but it now runs fluently on the CP400. I also made it possible to mark bombs. Maybe you can develop it further.

Where can I upload the version v0.2, I can´t find a uploadlink. I will try to upload it as a ClassPad 300/330 game.

Senior Member
Posts: 369
Joined: Tue Jan 03, 2012 11:24 pm
Calculators: Casio Afx 1.0, Casio fx-9860 GII SD, Casio Classpad 330, Casio fx-CG 20, Casio Classpad fx-cp400

Re: CPMines - Classpad fx-CP400 minesweeper basic

Postby helder7 » Thu Aug 15, 2013 10:22 pm

Looks like that I forgot to change the permissions of CP400 folders in downloads section to registed users, in order to allow uploads. The problem has been fixed.

I moved your modded cpmines version to the correct folder. Thanks for sharing.

Most of programs that I created were made using just the emulator. Currently I have a classpad II, however it (mine cp400) has some bugs in programs that do not allow me to test/use some commands correctly.
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Member
User avatar
Posts: 31
Joined: Wed Apr 18, 2012 4:48 pm

Re: CPMines - Classpad fx-CP400 minesweeper basic

Postby Cartix » Wed Aug 21, 2013 5:02 pm

Hi Helder, can I modify your program to make it run on a CP330, and then post it here ?
Image

Senior Member
Posts: 369
Joined: Tue Jan 03, 2012 11:24 pm
Calculators: Casio Afx 1.0, Casio fx-9860 GII SD, Casio Classpad 330, Casio fx-CG 20, Casio Classpad fx-cp400

Re: CPMines - Classpad fx-CP400 minesweeper basic

Postby helder7 » Wed Aug 21, 2013 9:55 pm

Yes. Feel free to modify it. :D
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Junior Member
Posts: 1
Joined: Tue Jul 14, 2015 5:20 am
Calculators: Casio fx-CG 10

Re: CPMines - Classpad fx-CP400 minesweeper basic

Postby addseo1150 » Tue Jul 14, 2015 8:01 am

I moved your modded cpmines version to the correct folder.
เกมส์คาสิโน

Return to Released Projects

Who is online

Users browsing this forum: No registered users and 4 guests