Jump to content



Photo
- - - - -

Guess Number - Updates & Bug Reports thread

Game Guess Number fx-5800P fx-7400GII fx-9750GII fx-9860G series fx-CG series

  • Please log in to reply
47 replies to this topic

#1 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 25 June 2019 - 04:51 AM

Welcome to Guess Number Updates & Bug Report thread 

 

Direct links

  • fx-5800P

Version 1.0.0

Version 1.1

Version 1.2.2 (Latest)

Latest build

  • fx-7400GII/9750GII/9860G series

Version 1.0.3 (Latest)

Version 1.0.0 C.Basic Demo build (Only fx-9860G series)

 

fx-7400GII/9750GII/9860G series versions progresses:

Spoiler
 

 

fx-5800P versions progresses:

Spoiler
 

 

External links
Guess Number thread in Casiopeia
Guess Number Instructions & Tutorials thread
Guess Number versions folder


Edited by CalcLoverHK, 06 September 2019 - 02:16 PM.


#2 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 28 June 2019 - 11:15 AM

Hi guys,

 

Public beta 1 is available to public. Hope you enjoy.

Guess Number ver.1.0-beta1

Changelogs:

-First beta release
 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 22 July 2019 - 09:34 AM.


#3 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 03 July 2019 - 02:44 PM

Hi guys,

 

It's time to release another beta. Hope you enjoy.

Guess Number ver.1.0-beta2

Changelogs:

-Migrated about menu to main menu
-Remade main menu
#Press UP and DOWN key to change the options
-Perfected Range gamemode
 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 04 July 2019 - 02:38 AM.


#4 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 04 July 2019 - 08:39 AM

Hi guys,

 

The third beta is relesed to public. Hope you enjoy.

Guess Number ver.1.0-beta3

Changelogs:

-Remade settings menu

-You can now save 1 progress

-Added "ResetAll" settings

-Simplified some codes

 

Regards,

CalcLoverHK



#5 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 06 July 2019 - 08:56 AM

Hi guys,

 

The program is now entered release candidate stage. Thanks for downloading and supporting my program. Below is the link of version 1.0-beta4.

Guess Number ver.1.0-beta4

Changelogs:

-Simplified many codes

-Added a warning message when the previous progress exists and player still selects "New game"

 

Official release date: 2019/7/11

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 15 July 2019 - 09:13 AM.


#6 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 09 July 2019 - 01:48 PM

Hi guys,

 

Here is a quick news from release versions. Start from today, source code of release versions will now be directly posted on this forum. Public beta versions will still be posted in Mediafire.

By the way, version 1.0-beta5 has been released to public.

Guess Number ver.1.0-beta5

Changelogs:

-Added a option that can allow repeated number in Bulls and Cows

-Implemented anti-cheat system in Range gamemode

-Simplified and fixed some bugs

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 15 July 2019 - 09:14 AM.


#7 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 10 July 2019 - 05:06 PM

Hi guys,

 

It's time to release the official version of Guess Number!

After 18 days of development and 5 test versions, this game is finally released. Although it may still have some bugs, I will try to fix them one by one.

Here is the code:

 

  • Main menu / game core (Filename:Guess Number)
1→P
Locate 3,1,"Guess Number"
Locate 1,4,"Ver.1.0.0"
Do
Cls
P=1⇒Locate 4,2,">New game<"
P=2⇒Locate  4,2,">Continue<"
P=3⇒Locate 4,2,">Settings<
Getkey→K
K=84 And P>1⇒Dsz P
K=85 And P<3⇒Isz P
If (P=1 Or P=2) And K=47
Then If J≠0 And P=1
Then Cls
"WARNING! This"
Locate 1,2,"covers progress!"
Locate 1,3,"Sure?"
Locate 1,4,"[1]:yes   [0]:no"
Getkey→T
Do
LpWhile T≠35 And T≠25
T=35⇒0→J
IfEnd
If J=0
Then Cls
"<Back"
Locate 1,2,"[1]:BullsAndCows"
Locate 1,3,"[2]:Range"
Do
Getkey→K
LpWhile K≠35 And K≠36 And K≠83
IfEnd
K=35 Or J=1⇒Prog "gn.game1"
K=36 Or J=2⇒Prog "gn.game2"
I=N Or X=4 Or M=0⇒Prog "gn.pg"
IfEnd
P=3 And K=47⇒Prog "gn.set"
LpWhile 1
  • Settings menu (Filename:gn.set)
Do
Cls
"<Back"
Locate 1,2,"[1]:config."
Locate 1,3,"[2]:reset all"
Getkey→K
If K=35 Or K=36
Then Cls
"Sure?"
Locate 1,3,"[1]:yes"
Locate 1,4,"[0]:no"
Do
Getkey→T
LpWhile T≠25 And T≠35
IfEnd
If K÷T=1
Then Do
Cls
"Move limit"?L
Int(L→L
LpWhile L<1 Or L>99
Do
Cls
"Min. range"?Q
Int(Q→Q
Cls
"Max. range"?R
Int(R→R
LpWhile Q<1 Or R<1 Or R-Q<2 Or R>E4
Do
Cls
"0:false"
Locate 1,2,"1:true"
"Allow rp. num."?U
Int(U→U
LpWhile U≠0 Or U≠1
Prog "gn.done"
IfEnd
If K-T=1
Then ClrMemory
1→P
8→L
1→Q
E2→R
Prog "gn.done"
IfEnd
LpWhile K≠83
Return
  • Bulls and Cows (Filename:gn.game1)
If J=0
Then Do
RanInt#(0,9→A
RanInt#(0,9→B
RanInt#(0,9→C
RanInt#(0,9→D
LpWhile U=0 And (A=B Or A=C Or A=D Or B=C Or B=D Or C=D)
L→M
1→J
IfEnd
Do
M=0⇒Break
Prog "gn.clear"
Prog "gn.disp"
Do
Cls
E≧0⇒Locate 7,2,E
F≧0⇒Locate 8,2,F
G≧0⇒Locate 9,2,G
H≧0⇒Locate 10,2,H
Prog "gn.check"
I=0 And O And U=0⇒Isz S
I And O And U=0⇒S-I10^(I→S
LpWhile K≠47 And A≧0 And B≧0 And C≧0 And D≧0
(A=E)+(B=F)+(C=G)+(D=H→X
(A=F)+(A=G)+(A=H)+(B=E)+(B=G)+(B=H)+(C=E)+(C=F)+(C=H)+(D=E)+(D=F)+(D=G→Y
LpWhile X≠4M-
Return
  • Range (Filename:gn.game2)
If J=0
Then RanInt#(Q+1,R-1→N
Q→X
R→Y
L→M
2→J
IfEnd
Do
M=0⇒Break
Prog "gn.clear"
Prog "gn.disp"
Do
Cls
Locate 7,2,Z
Getkey→K
Prog "gn.check"
LpWhile K≠47 And Z>X And Z<Y
I<K⇒I→X
I>K⇒I→Y
LpWhile I≠NM-
Return
  • Display (Filename:gn.disp)
Cls
E3E+E2F+10G+H→Z
"Moves:"
Locate 7,1,M
Locate 1,2,"Input:"
Locate 7,2,Z
Locate 1,3,"A:"
Locate 3,3,X
Locate 1,4,"B:"
Locate 3,4,Y
IfEnd◢
Return
  • Substitution & check (Filename:gn.check)
Getkey→K
K=25⇒0→I
K>34 And K<38⇒K-34→I
K>20 And K<24⇒K-17→I
K>30 And K<34⇒K-24→I
If K=34
Then Prog "gn.clear"
Return
IfEnd
If E<0
Then I→E
1→O
Return
IfEnd
If F<0
Then I→F
1→O
Return
IfEnd
If G<0
Then I→G
1→O
Return
IfEnd
If H<0
Then I→H
1→O
Return
IfEnd
  • Clear (Filename:gn.clear)
0→U
0→Z
-1→E
-1→F
-1→G
-1→H
9876543210→S
Return
  • Done notification (Filename:gn.done)
Cls
"Done"
Locate 1,4,"<Back"
Do
LpWhile Getkey≠83
Return
  • Post-gameplay (Filename:gn.pg)
Cls
0→J
Locate 1,1,"Moves:"
If M≠0
Then Locate 7,1,L-M+1
Locate 1,2,"Out of"
Locate 8,2,L
Else "No moves"
IfEnd
Locate 1,3,"Ans:"
J=1⇒Locate 5,3,E3A+E2B+10C+D
J=2⇒Locate 5,3,N
Locate 1,4,"[EXE]:back"◢
Return

 

If you find any bugs, please report them on this thread, thanks.

Hope you enjoy!

 

Best regards,

CalcLoverHK


Edited by CalcLoverHK, 15 July 2019 - 09:12 AM.


#8 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 13 July 2019 - 07:03 AM

Hi guys,

 

Development of Guess Number version 1.0.1 changed to 1.1 due to more work involved has been started. Here is the planned features list:

  • Cleaned up and simplified some codes and variables

Planned release date of 1.1: 2019/7/15   2019/7/17

Also, the instructions & tutorials thread is now in maintainence. It will be done within 2 days. Sorry for inconvenience made.

Maintainence is now done and the thread is open to public once again.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 17 July 2019 - 06:43 AM.


#9 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 15 July 2019 - 09:38 AM

Hi guys,
 
Here is two quick annoucements. 
 
First thing is the renaming of 1.0 RC format. I've unified the following version names below:
ver.1.0-rc1 → ver.1.0-beta4
ver.1.0-rc2 → ver.1.0-beta5
This is because the RC versions are too similar to betas.
Start from today, the version format will be either x.x(.x) or x.x-betax or x.x-buildx (in the future graphical calculators version).
 
The second thing is the cancellation of version 1.0.1. It supposed to be a minor update. Due to more problems popped out and led to more amount of work, I changed it from 1.0.1 to 1.1, and the release date of version 1.1 is delayed one or two days later.
 
To compensate the above action, I will release version 1.1-beta. Note that 1.1 will only have 1 beta unless major bugs pop out. Link is below:
Guess Number ver.1.1-beta
 
Sorry for inconveniences made.
 
Regards,
CalcLoverHK

 

Update: MediaFire didn't save my edit and always gets an error, keep trying again...


Edited by CalcLoverHK, 23 July 2019 - 04:03 PM.


#10 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 17 July 2019 - 07:02 AM

Hi guys,

 

Guess Number version 1.1 is now available. It is an enhanced and (should be) simplified revision of 1.0.0. Here is the source codes and changelogs:

 

Changelogs

-Simplified many codes

-Enhanced Range gamemode input system

-Fixed a number of bugs mainly regarding Range gamemode

 

Source codes

  • Main menu / game core (Filename: Guess Number)
1→P
Do
Locate 3,1,"Guess Number"
Locate 1,4,"Ver.1.1"
Cls
P=1⇒Locate 4,2,">New game<"
P=2⇒Locate  4,2,">Continue<"
P=3⇒Locate 4,2,">Settings<
Getkey→K
K=84 And P>1⇒Dsz P
K=85 And P<3⇒Isz P
If (P=1 Or P=2) And K=47
Then J≠0 And P=1⇒Prog "gn.confirm"
T=35⇒0→J
IfEnd
If J=0
Then Cls
"<Back"
Locate 1,2,"[1]:BullsAndCows"
Locate 1,3,"[2]:Range"
Do
Getkey→K
LpWhile K≠35 And K≠36 And K≠83
IfEnd
K=35 Or J=1⇒Prog "gn.game1"
K=36 Or J=2⇒Prog "gn.game2"
(I=N Or X=4 Or M=0) And J≠0⇒Prog "gn.pg"
IfEnd
P=3 And K=47⇒Prog "gn.set"
LpWhile 1
  • Settings menu (Filename: gn.set)
Do
Cls
"<Back"
Locate 1,2,"[1]:config."
Locate 1,3,"[2]:reset all"
Getkey→K
K=35 Or K=36⇒Prog "gn.confirm"
If K=T
Then Do
Cls
"Move limit"?L
Int(L→L
LpWhile L<1 Or L>99
Do
Cls
"Min. range"?Q
Int(Q→Q
Cls
"Max. range"?R
Int(R→R
LpWhile Q<1 Or R<1 Or R-Q<2 Or R>E4
Do
Cls
"0:false"
Locate 1,2,"1:true"
"Allow rp. num."?U
Int(U→U
LpWhile U≠0 Or U≠1
Isz V
IfEnd
If K-T=1
Then ClrMemory
1→P
8→L
1→Q
0→U
E2→R
Isz V
IfEnd
If V=1
Then Cls
"Done"
Locate 1,4,"<Back"◢
Dsz V
IfEnd
LpWhile K≠83
Return
  • Bulls and Cows (Filename: gn.game1)
If J=0
Then Do
RanInt#(0,9→A
RanInt#(0,9→B
RanInt#(0,9→C
RanInt#(0,9→D
LpWhile U=0 And (A=B Or A=C Or A=D Or B=C Or B=D Or C=D)
L→M
1→J
IfEnd
Do
M=0⇒Break
Prog "gn.clear"
Do
Prog "gn.check"
LpWhile K≠47 Or A<0 Or B<0 Or C<0 Or D<0
(A=E)+(B=F)+(C=G)+(D=H→X
(A=F)+(A=G)+(A=H)+(B=E)+(B=G)+(B=H)+(C=E)+(C=F)+(C=H)+(D=E)+(D=F)+(D=G→Y
LpWhile X≠4M-
Return
  • Range (Filename: gn.game2)
If J=0
Then RanInt#(Q+1,R-1→N
Q→X
R→Y
L→M
2→J
IfEnd
Do
M=0⇒Break
Prog "gn.clear"
Do
Prog "gn.check"
LpWhile K≠47 Or Z<X Or Z>Y
Z<N⇒Z→X
Z>N⇒Z→Y
LpWhile E≠NM-
Return
  • Check (Filename: gn.check)
Cls
"Moves:"
Locate 7,1,M
Locate 1,2,"Input:"
E≧0⇒Locate 7,2,E
F≧0⇒Locate 8,2,F
G≧0⇒Locate 9,2,G
H≧0⇒Locate 10,2,H
Locate 1,3,"A:"
Locate 3,3,X
Locate 1,4,"B:"
Locate 3,4,Y
Getkey→K
K=25⇒0→I
K>34 And K<38⇒K-34→I
K>20 And K<24⇒K-17→I
K>30 And K<34⇒K-24→I
K=34⇒Prog "gn.clear"
While (Frac(S÷10^(I+1))≧I÷10 And I≧1) Or (I=0 And Not(Frac(S÷10^(I+1
If E<0
Then I→E
Isz O
Break
IfEnd
If F<0
Then I→F
Isz O
Break
IfEnd
If G<0
Then I→G
Isz O
Break
IfEnd
If H<0
Then I→H
Isz O
Break
IfEnd
WhileEnd
If J=1 And O And Not(U
Then Not(I⇒Isz S
I>0⇒S-I10^(I→S
IfEnd
If J=2 And V<4
Then E10^(V→Z
V>0⇒Z+F10^(V-1→Z
V>1⇒Z+G10^(V-2→Z
V>2⇒Z+H10^(V-3→Z
IfEnd
-1→I
0→O
Return
  • Clear (Filename: gn.clear)
0→U
0→V
-1→E
-1→F
-1→G
-1→H
9876543210→S
Return
  • Post-gameplay (Filename: gn.pg)
Cls
0→J
If M≠0
Then Locate 1,1,L-M+1
Locate 4,1,"Out of"
Locate 12,1,L
Else "No moves"
IfEnd
Locate 1,3,"Ans:"
J=1⇒Locate 5,3,E3A+E2B+10C+D
J=2⇒Locate 5,3,N
Locate 1,4,"[EXE]:back"◢
Return
  • Confirm (Filename: gn.confirm)
Cls
"Please confirm"
Locate 1,2,"your action."
Locate 1,4,"[1]:yes   [0]:no"
Do
Getkey→T
LpWhile T≠25 And T≠35
Return

 

Hope you enjoy this update.

 

Regards,

CalcLoverHK



#11 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 20 July 2019 - 08:10 AM

Hi guys,

 

Guess Number version 1.2 has been in development few days ago. This version is mainly to fix the bugs left from 1.0.0 and 1.1. Also, it will focus on enhancing gameplay and simplifying the whole codes. (Hopefully I can make them into a single program only) Now, the version 1.2-beta1 is rolling out to public.

 

Changelogs

-Compressed most subprograms to only one program and one subprogram

-Fixed some bugs

-Added a confirm menu about initializing the game first

-Change the default starting moves to 10

 

Download link: Guess Number ver.1.2-beta1

 

Hope you enjoy.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 21 July 2019 - 04:29 AM.


#12 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 21 July 2019 - 04:50 PM

Hi guys,

 

Beta 2 of the Guess Number version 1.2 has been released.

 

Changelogs

-Compressed and simplified some codes

-Expand the value limit of move limit up to 999

 

Download link: Guess Number ver.1.2-beta2

 

Also, the preparation work of fx-9860 series version is now done. It will be based on fx-5800P version 1.2 and it has some exclusive features that currently not available in fx-5800P version.

 

Recently I heard things about C.Basic and it's kind of interpreter that makes game much faster. I will consider releasing a fx-9860G/GII version that is specially designed for C.Basic to handle future game content and complex design.

 

Anyway, hope you enjoy this update.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 23 July 2019 - 05:46 AM.


#13 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 22 July 2019 - 10:13 AM

Dear community,

 

It's time for me to release Guess Number fx-5800P version 1.2.

 

Source codes

  • Core program (Filename: Guess Number)
0→W
Prog "gn.2con"
Do
Cls
Locate 3,1,"Guess Number"
Locate 1,4,"Ver.1.2"
P=1⇒Locate 4,2,">New game<"
P=2⇒Locate  4,2,">Continue<"
P=3⇒Locate 4,2,">Settings<
Getkey→K
K=84 And P>1⇒Dsz P
K=85 And P<3⇒Isz P
If (P=1 Or P=2) And K=47
Then J≠0 And P=1⇒1→W
Prog "gn.2con"
If J=0
Then Cls
"<Back"
"[1]:BullsAndCows"
"[2]:Range"
Do
Getkey→K
LpWhile K≠35 And K≠36 And K≠83
If K=35
Then Do
RanInt#(0,9→A
RanInt#(0,9→B
RanInt#(0,9→C
RanInt#(0,9→D
LpWhile Not(Frac(L And (A=B Or A=C Or A=D Or B=C Or B=D Or C=D)
1→J
IfEnd
If K=36
Then RanInt#(Q+1,R-1→A
Q→X
R→Y
2→J
IfEnd
Int(L→M
IfEnd
Do
M=0⇒Break
2→W
Prog "gn.2con"
Do
Cls
"Moves:"
Locate 7,1,M
"Input:"
E≧0⇒Locate 7,2,E
F≧0⇒Locate 8,2,F
G≧0⇒Locate 9,2,G
H≧0⇒Locate 10,2,H
"A:"
Locate 3,3,X
"B:"
Locate 3,4,Y
Getkey→K
K=25⇒0→I
K>34 And K<38⇒K-34→I
K>20 And K<24⇒K-17→I
K>30 And K<34⇒K-24→I
If K=34
Then 2→W
Prog "gn.2con"
IfEnd
While (Frac(S÷10^(I+1))≧I÷10 And I≧1) Or (I=0 And Not(Frac(S÷10^(I+1
If E<0
Then I→E
Isz O
Break
IfEnd
If F<0
Then I→F
Isz O
Break
IfEnd
If G<0
Then I→G
Isz O
Break
IfEnd
If H<0
Then I→H
Isz O
Break
IfEnd
WhileEnd
If J=1 And O And Not(U
Then Not(I⇒Isz S
I>0⇒S-I10^(I→S
IfEnd
If J=2 And O And V<4
Then E10^(V→Z
V>0⇒Z+F10^(V-1→Z
V>1⇒Z+G10^(V-2→Z
V>2⇒Z+H10^(V-3→Z
Isz V
IfEnd
-1→I
0→O
LpWhile K≠47 Or (J=1 And (A<0 Or B<0 Or C<0 Or D<0)) Or (J=2 And (Z≦X Or Z≧Y
If J=1
Then (A=E)+(B=F)+(C=G)+(D=H→X
(A=F)+(A=G)+(A=H)+(B=E)+(B=G)+(B=H)+(C=E)+(C=F)+(C=H)+(D=E)+(D=F)+(D=G→Y
Else Z<K⇒Z→X
Z>K⇒Z→Y
LpWhile (X≠4 And J=1) Or (Z≠A And J=2)M-
Cls
If M≠0
Then Locate 1,1,L-M+1
Locate 5,1,"out of"
Locate 13,1,Int(L
Else "No moves"
IfEnd
"Ans:"
If J=1
Then Locate 5,2,E3A+E2B+10C+D
Else Locate 5,2,A
IfEnd
"[EXE]:back"◢
IfEnd
While P=3 And K=47
Cls
"<Back"
"[1]:config."
"[2]:reset all"
Getkey→K
K=83⇒Break
K=35⇒3→W
K=36⇒4→W
Prog "gn.2con"
WhileEnd
LpWhile 1
  • Confirm & Configure subprogram (Filename: gn.2con)
Cls
If W=0
Then "Would you like"
"to initialize"
"the game first?"
IfEnd
If W=4
Then  "Would you want"
"to reset all?"
IfEnd
If W=1 Or W=3
Then "Please confirm"
"your action."
IfEnd
If W=2
Then 0→V
-1→E
-1→F
-1→G
-1→H
9876543210→S
Return
IfEnd
"[1]:yes   [0]:no"
Do
Getkey→K
LpWhile K≠35 And K≠25
K=25⇒Return
If K=35
Then If W=0 Or W=4
Then ClrMemory
1→P
10→L
1→Q
E2→R
IfEnd
W=1⇒0→J
If W=3
Then Do
Cls
"Move limit"?L
L+Int(L→L
LpWhile L<1 Or L≧E3
Do
Cls
"Min. range"?Q
Int(Q→Q
Cls
"Max. range"?R
Int(R→R
LpWhile Q<1 Or R-Q<2 Or R>E4
Do
Cls
"Allow rp. num.?"
"Up:true"
"Down:false"
Getkey→K
K=84 And Not(Frac(L⇒L+.1→L
K=85 And Frac(L⇒L-.1→L
LpWhile K≠84 And K≠85
IfEnd
Cls
"Done"
"[EXE]:back"◢
IfEnd
Return

Hope you enjoy this update.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 22 July 2019 - 03:49 PM.


#14 sentaro21

sentaro21

    Casio Freak

  • Members
  • PipPipPipPip
  • 254 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 23 July 2019 - 07:54 AM

Hi,
Thanks for the interesting program. :)
I used Cclinker(by Takumako) for program input.
 
Is this part a bug or typo?
 
30 line of Guess Number,
This seems to be an infinite loop.
LpWhile Not(Frac(L And (A=B Or A=C Or A=D Or B=C Or B=D Or C=D) 
 
and,
109 line of Guess Number,
What is the last M-?
LpWhile (X≠4 And J=1) Or (Z≠A And J=2)M-
 
and,
Does "E2","E3","E4" mean "100","1000",10000"?
 

  • CalcLoverHK likes this

#15 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 23 July 2019 - 09:34 AM

Hi sentaro21,

 

Thanks for commenting and your bug report! I appreciate your work.  :)

 

 

 

30 line of Guess Number,
This seems to be an infinite loop.
LpWhile Not(Frac(L And (A=B Or A=C Or A=D Or B=C Or B=D Or C=D) 

Thanks a lot! I will investigate this bug.


EDIT:

Woah! I haven't thought about this big problem.
Not only I missed the brackets, but also if I fix this bug, it still won't work because it has led to another bug in configuration settings.
Compressing the variable sometimes is a bad idea. I will revert this changes in next version.

 

 

and,
109 line of Guess Number,
What is the last M-?
LpWhile (X≠4 And J=1) Or (Z≠A And J=2)M-

/M-/ does the opposite from /M+/. (M is decremented by 1 at above command)

As Casio Basic accepts like While 1M+ or DoM-,

I use this trick to simplify Dsz M.

 

 

 

and,
Does "E2","E3","E4" mean "100","1000",10000"?

 

Yes. I forgot to change the size of the "E".

Maybe I should use the parenthenes to avoid confusions.

 

By the way, your link seems pretty useful. When I have time, I will try it. I wonder if there is a fx-5800P program emulator for me to test.

 

Anyway, thanks for commenting and let me know!

 

Best regards,

CalcLoverHK


Edited by CalcLoverHK, 23 July 2019 - 09:49 AM.


#16 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 23 July 2019 - 10:41 AM

Dear community,

 

Here is a quick bugfix version. It's version 1.2.1 for fx-5800P.

 

Changelogs

-Revert the compressing codes changes made in version 1.2-beta2

-Bugfixes

 

Source codes

 

***Note***

/E/ means exponential symbol (E).

/M-/ means decrement of variable M and it occupies only one byte.

 

  • Core program (Filename: Guess Number)
0→W
Prog "gn.2con"
Do
Cls
Locate 3,1,"Guess Number"
Locate 1,4,"Ver.1.2.1"
P=1⇒Locate 4,2,">New game<"
P=2⇒Locate  4,2,">Continue<"
P=3⇒Locate 4,2,">Settings<
Getkey→K
K=84 And P>1⇒Dsz P
K=85 And P<3⇒Isz P
If (P=1 Or P=2) And K=47
Then J≠0 And P=1⇒1→W
Prog "gn.2con"
If J=0
Then Cls
"<Back"
"[1]:BullsAndCows"
"[2]:Range"
Do
Getkey→K
LpWhile K≠35 And K≠36 And K≠83
If K=35
Then Do
RanInt#(0,9→A
RanInt#(0,9→B
RanInt#(0,9→C
RanInt#(0,9→D
LpWhile Not(U) And (A=B Or A=C Or A=D Or B=C Or B=D Or C=D
1→J
IfEnd
If K=36
Then RanInt#(Q+1,R-1→A
Q→X
R→Y
2→J
IfEnd
L→M
IfEnd
Do
M=0⇒Break
2→W
Prog "gn.2con"
Do
Cls
"Moves:"
Locate 7,1,M
"Input:"
E≧0⇒Locate 7,2,E
F≧0⇒Locate 8,2,F
G≧0⇒Locate 9,2,G
H≧0⇒Locate 10,2,H
"A:"
Locate 3,3,X
"B:"
Locate 3,4,Y
Getkey→K
K=25⇒0→I
K>34 And K<38⇒K-34→I
K>20 And K<24⇒K-17→I
K>30 And K<34⇒K-24→I
If K=34
Then 2→W
Prog "gn.2con"
IfEnd
While (Frac(S÷10^(I+1))≧I÷10 And I≧1) Or (I=0 And Not(Frac(S÷10^(I+1
If E<0
Then I→E
Isz O
Break
IfEnd
If F<0
Then I→F
Isz O
Break
IfEnd
If G<0
Then I→G
Isz O
Break
IfEnd
If H<0
Then I→H
Isz O
Break
IfEnd
WhileEnd
If J=1 And O And Not(U
Then Not(I⇒Isz S
I>0⇒S-I10^(I→S
IfEnd
If J=2 And O And V<4
Then E10^(V→Z
V>0⇒Z+F10^(V-1→Z
V>1⇒Z+G10^(V-2→Z
V>2⇒Z+H10^(V-3→Z
Isz V
IfEnd
-1→I
0→O
LpWhile K≠47 Or (J=1 And (A<0 Or B<0 Or C<0 Or D<0)) Or (J=2 And (Z≦X Or Z≧Y
If J=1
Then (A=E)+(B=F)+(C=G)+(D=H→X
(A=F)+(A=G)+(A=H)+(B=E)+(B=G)+(B=H)+(C=E)+(C=F)+(C=H)+(D=E)+(D=F)+(D=G→Y
Else Z<K⇒Z→X
Z>K⇒Z→Y
LpWhile (X≠4 And J=1) Or (Z≠A And J=2/M-/
Cls
If M≠0
Then Locate 1,1,L-M+1
Locate 5,1,"out of"
Locate 13,1,L
Else "No moves"
IfEnd
"Ans:"
If J=1
Then Locate 5,2,/E/3A+/E/2B+10C+D
Else Locate 5,2,A
IfEnd
"[EXE]:back"◢
IfEnd
While P=3 And K=47
Cls
"<Back"
"[1]:config."
"[2]:reset all"
Getkey→K
K=83⇒Break
K=35⇒3→W
K=36⇒4→W
Prog "gn.2con"
WhileEnd
LpWhile 1
  • Confirm & Configure subprogram (Filename: gn.2con)
Cls
If W=0
Then "Would you like"
"to initialize"
"the game first?"
IfEnd
If W=4
Then  "Would you want"
"to reset all?"
IfEnd
If W=1 Or W=3
Then "Please confirm"
"your action."
IfEnd
If W=2
Then 0→V
-1→E
-1→F
-1→G
-1→H
9876543210→S
Return
IfEnd
"[1]:yes   [0]:no"
Do
Getkey→K
LpWhile K≠35 And K≠25
K=25⇒Return
If K=35
Then If W=0 Or W=4
Then ClrMemory
1→P
10→L
1→Q
E2→R
0→U
IfEnd
W=1⇒0→J
If W=3
Then Do
Cls
"Move limit"?L
Int(L→L
LpWhile L<1 Or L≧/E/3
Do
Cls
"Min. range"?Q
Int(Q→Q
Cls
"Max. range"?R
Int(R→R
LpWhile Q<1 Or R-Q<2 Or R>/E/4
Cls
"Allow rp. num.?"
"[1]:true"
"[0]:false"
Do
Getkey→K
K=25⇒0→U
K=35⇒1→U
LpWhile K≠25 And K≠35
IfEnd
Cls
"Done"
"[EXE]:back"◢
IfEnd
Return

Hope you enjoy.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 23 July 2019 - 10:55 AM.


#17 sentaro21

sentaro21

    Casio Freak

  • Members
  • PipPipPipPip
  • 254 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 23 July 2019 - 11:42 AM

Thanks CalcLoverHK. :D
 
How do I enter "M-" on the calculator?
The "M+" and "M-" keys are not responsive in program mode. :(
 
The Cclinker is so useful that it is worth trying. ^_^
About a fx-5800P emulator,
I think that does not exist until now.
 
 

  • CalcLoverHK likes this

#18 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 23 July 2019 - 01:43 PM

Hi sentaro21,

 

 

Thanks CalcLoverHK. :D
 
How do I enter "M-" on the calculator?
The "M+" and "M-" keys are not responsive in program mode. :(

Seriously? Are you sure that fx-5800P doesn't respond "M+" or "M-"?

Ironically, my fx-50FHII has both two functions and they work perfectly in program mode.

If it still don't work, then maybe I will change the codes.

 

 

 

The Cclinker is so useful that it is worth trying. ^_^
About a fx-5800P emulator,
I think that does not exist until now.

Oh God, thank you so much for recommending this dream-like thing!

I have been searched for a fx-5800P emulator (at least the thing I want is programming) and found none until now.

I will definitely try it.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 23 July 2019 - 01:49 PM.


#19 sentaro21

sentaro21

    Casio Freak

  • Members
  • PipPipPipPip
  • 254 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 24 July 2019 - 01:33 AM

Hi CalcLoverHK,



Seriously? Are you sure that fx-5800P doesn't respond "M+" or "M-"?

Ironically, my fx-50FHII has both two functions and they work perfectly in program mode.

If it still don't work, then maybe I will change the codes.

 

Yes.

"M+" and "M-" can be used in normal calculations, but not in program mode.
However, input is possible using CcEditor.
CcEditor can use the hidden functions of fx-5800P. ^_^

Also, lower case input is impossible with real calculators, but CcEditor makes it possible.
 

107 line of "Guess Number"
I found a bug where IfEnd is missing.
Z>K⇒Z→Y
LpWhile (X≠4 And J=1) Or (Z≠A And J=2/M-/
↓ ↓ ↓
Z>K⇒Z→Y
IfEnd
M-1→M
LpWhile (X≠4 And J=1) Or (Z≠A And J=2
This change makes it work well. :)
 
 

 



Oh God, thank you so much for recommending this dream-like thing!

I have been searched for a fx-5800P emulator (at least the thing I want is programming) and found none until now.

I will definitely try it.

CcTools does not include an emulator, so the real calculator is required.
If you want to get new fx-5800P, graphing calculator may be better. :)
 

Edited by sentaro21, 24 July 2019 - 01:45 AM.

  • CalcLoverHK likes this

#20 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 24 July 2019 - 05:25 AM

Hi sentaro21,

 

 

 

107 line of "Guess Number"

I found a bug where IfEnd is missing.
Z>K⇒Z→Y
LpWhile (X≠4 And J=1) Or (Z≠A And J=2/M-/
↓ ↓ ↓
Z>K⇒Z→Y
IfEnd
M-1→M
LpWhile (X≠4 And J=1) Or (Z≠A And J=2
This change makes it work well. :)

Thanks again!  :D

Aw man, such a backlash of fx-5800P!

But I have a small question. Are the following codes working?

Z>K⇒Z→Y
IfEnd
Dsz M
LpWhile (X≠4 And J=1) Or (Z≠A And J=2

I change M-1→M to Dsz M.

I know when M=0, it skips the following command and run after it.

Is it possible to do like that to exit the Do loop?

 

Regards,

CalcLoverHK



#21 sentaro21

sentaro21

    Casio Freak

  • Members
  • PipPipPipPip
  • 254 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 24 July 2019 - 08:05 AM

But I have a small question. Are the following codes working?

Z>K⇒Z→Y
IfEnd
Dsz M
LpWhile (X≠4 And J=1) Or (Z≠A And J=2

I change M-1→M to Dsz M.

I know when M=0, it skips the following command and run after it.

Is it possible to do like that to exit the Do loop?

It is an error to exit the loop at Dsz.
Therefore that method can not be used.
It is a good way to exit with Break or Goto. :)


#22 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 25 July 2019 - 07:28 AM

Dear community,

 

I am sorry to inform you that the predecessor, fx-9860G and its variants are unsupported in fx-7400GII/9750GII/9860GII version due to inconsistent codes found.

 

The fx-9860GII has the "+" command (not operator) which connects two strings together, while the genuine fx-9860G doesn't. (I have looked up the manual and found none.) This is the most serious breaking point in the genuine fx-9860G as it makes the whole gameplay completely hard to understand and unplayable as a result.

 

I initially want the fx-7400GII/9750GII/9860GII version to compatible with fx-9860G. However, because of this, I have to change the codes depending on this command and it is time-consuming. Therefore I have decided to stop providing supports in fx-9860G temporarily. The above actions are cancelled.

 

But luckily as far as I know, the C.Basic is the only solution that can fix this problem. According to this article (by Krtyski), the " " command works different comparing fx-5800P and the graphical calculators. When the command runs, the latter will overwrite the whole row itself and then place the words, while the fx-5800P doesn't. Instead, the fx-5800P just replaces the space assigned by the command with the words. Hopefully I will support fx-9860G again as soon as possible.

 

Sorry for the inconveniences made.

 

Best regards,

CalcLoverHK


Edited by CalcLoverHK, 26 July 2019 - 05:29 AM.


#23 sentaro21

sentaro21

    Casio Freak

  • Members
  • PipPipPipPip
  • 254 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 25 July 2019 - 01:17 PM

Don't worry ^_^
 
The fx-9860G series supports strings from OS 2.x, and "+" is used for string concatenation.
The OS 1.x fx-9860G series is very similar to the fx-5800P.
 
C.Basic incorporates the features of fx-5800P as compatible specifications with Casio Basic.
The programs running on the fx-5800P can be operated almost as they are, except for the key code differences.
 
I think that even genuine Casio Basic can be made to work in the same way with a few modifications. :)

  • CalcLoverHK likes this

#24 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 26 July 2019 - 05:19 AM

Hi sentaro21,

 

Look like I do not look up the manual carefully. Since I found the old ones to read, it's outdated. Now I have the new (OS2.0) pdf manual of fx-9860G. Thanks for let me know!

 

 

The fx-9860G series supports strings from OS 2.x, and "+" is used for string concatenation.

Wait, is "+" only for strings?

If this is true, then my following codes will be broken:

Locate 1,6,"A:"+X

Oh no... How do I fix it?

 

Regards,

CalcLoverHK



#25 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 26 July 2019 - 06:25 AM

Dear community,

 

The Guess Number build for fx-7400GII/9750GII/9860G series has been released. It is version 1.0.0 build 1.

 

Note that this is a very experimental version for graphical calculators and it may contains major bugs which very likely can corrupt the program and your variable data. Please test on your own risk and be sure to back up your data before testing it. For those who has the previous generation of the fx-9860G calculators series, which are fx-9860G, fx-9860G AU and fx-9860G SD, please make sure you have the latest OS as this program only support the calculators which has upgraded to OS 2.0 or above. For fx-9860G Slim users, support for this calculator is currently unconfirmed as it seems doesn't receive update of OS 2.0.

 

Download link (Updated 2019/8/29 18:44pm UTC+8)

 

And for fx-5800P users, here is another bugfix version regarding the issue of move system. This update only change the main program's codes, so only replace it.

 

Changelogs

-Fix a bug regarding the move system (Thanks sentaro21 again!)

 

Source codes

 

***Note***

/E/ means exponential symbol (E).

 

  • Core program (Filename: Guess Number)
0→W
Prog "gn.2con"
Do
Cls
Locate 3,1,"Guess Number"
Locate 1,4,"Ver.1.2.2"
P=1⇒Locate 4,2,">New game<"
P=2⇒Locate  4,2,">Continue<"
P=3⇒Locate 4,2,">Settings<
Getkey→K
K=84 And P>1⇒Dsz P
K=85 And P<3⇒Isz P
If (P=1 Or P=2) And K=47
Then J≠0 And P=1⇒1→W
Prog "gn.2con"
If J=0
Then Cls
"<Back"
"[1]:BullsAndCows"
"[2]:Range"
Do
Getkey→K
LpWhile K≠35 And K≠36 And K≠83
If K=35
Then Do
RanInt#(0,9→A
RanInt#(0,9→B
RanInt#(0,9→C
RanInt#(0,9→D
LpWhile Not(U) And (A=B Or A=C Or A=D Or B=C Or B=D Or C=D
1→J
IfEnd
If K=36
Then RanInt#(Q+1,R-1→A
Q→X
R→Y
2→J
IfEnd
L→M
IfEnd
Do
M=0⇒Break
2→W
Prog "gn.2con"
Do
Cls
"Moves:"
Locate 7,1,M
"Input:"
E≧0⇒Locate 7,2,E
F≧0⇒Locate 8,2,F
G≧0⇒Locate 9,2,G
H≧0⇒Locate 10,2,H
"A:"
Locate 3,3,X
"B:"
Locate 3,4,Y
Getkey→K
K=25⇒0→I
K>34 And K<38⇒K-34→I
K>20 And K<24⇒K-17→I
K>30 And K<34⇒K-24→I
If K=34
Then 2→W
Prog "gn.2con"
IfEnd
While (Frac(S÷10^(I+1))≧I÷10 And I≧1) Or (I=0 And Not(Frac(S÷10^(I+1
If E<0
Then I→E
Isz O
Break
IfEnd
If F<0
Then I→F
Isz O
Break
IfEnd
If G<0
Then I→G
Isz O
Break
IfEnd
If H<0
Then I→H
Isz O
Break
IfEnd
WhileEnd
If J=1 And O And Not(U
Then Not(I⇒Isz S
I>0⇒S-I10^(I→S
IfEnd
If J=2 And O And V<4
Then E10^(V→Z
V>0⇒Z+F10^(V-1→Z
V>1⇒Z+G10^(V-2→Z
V>2⇒Z+H10^(V-3→Z
Isz V
IfEnd
-1→I
0→O
LpWhile K≠47 Or (J=1 And (A<0 Or B<0 Or C<0 Or D<0)) Or (J=2 And (Z≦X Or Z≧Y
If J=1
Then (A=E)+(B=F)+(C=G)+(D=H→X
(A=F)+(A=G)+(A=H)+(B=E)+(B=G)+(B=H)+(C=E)+(C=F)+(C=H)+(D=E)+(D=F)+(D=G→Y
Else Z<K⇒Z→X
Z>K⇒Z→Y
IfEnd
M-1→M
LpWhile (X≠4 And J=1) Or (Z≠A And J=2
Cls
If M≠0
Then Locate 1,1,L-M+1
Locate 5,1,"out of"
Locate 13,1,L
Else "No moves"
IfEnd
"Ans:"
If J=1
Then Locate 5,2,/E/3A+/E/2B+10C+D
Else Locate 5,2,A
IfEnd
"[EXE]:back"◢
IfEnd
While P=3 And K=47
Cls
"<Back"
"[1]:config."
"[2]:reset all"
Getkey→K
K=83⇒Break
K=35⇒3→W
K=36⇒4→W
Prog "gn.2con"
WhileEnd
LpWhile 1

 

Thanks for reading and hope you enjoy these updates.

 

Best regards,

CalcLoverHK


Edited by CalcLoverHK, 29 August 2019 - 10:44 AM.


#26 sentaro21

sentaro21

    Casio Freak

  • Members
  • PipPipPipPip
  • 254 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 26 July 2019 - 09:15 AM

Hi sentaro21,

 

Look like I do not look up the manual carefully. Since I found the old ones to read, it's outdated. Now I have the new (OS2.0) pdf manual of fx-9860G. Thanks for let me know!

 

Wait, is "+" only for strings?

If this is true, then my following codes will be broken:

Locate 1,6,"A:"+X

Oh no... How do I fix it?

 

Regards,

CalcLoverHK

 
In that case, use Locate command separately.  
Locate 1,6,"A:"
Locate 3,6,X

Basically, strings display is good to use only the Locate command in the graphing calculators. :)



#27 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 26 July 2019 - 01:21 PM

Hi sentaro21,

 

 

 
In that case, use Locate command separately.  
Locate 1,6,"A:"
Locate 3,6,X

Basically, strings display is good to use only the Locate command in the graphing calculators. :)

 

Wait a second, I tried these codes and Locate 3,6,X surprisingly does not overwrite the whole row! Seriously?

But this article said it would. Can you explain why?

 

Regards,

CalcLoverHK



#28 sentaro21

sentaro21

    Casio Freak

  • Members
  • PipPipPipPip
  • 254 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 27 July 2019 - 02:27 AM

In the graphing calculators,
The Locate command is partially rewritten.
This is the same as the fx-5800P.
 
The display of quoted text overwrites the entire line.
This is the difference between the fx-5800P and the graphing calculator. 
 
So, if you use only the Locate command, it works the same way. :)

  • CalcLoverHK likes this

#29 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 27 July 2019 - 07:16 AM

Hi sentaro21,

 

 

In the graphing calculators,
The Locate command is partially rewritten.
This is the same as the fx-5800P.
 
The display of quoted text overwrites the entire line.
This is the difference between the fx-5800P and the graphing calculator. 
 
So, if you use only the Locate command, it works the same way. :)

 

Thanks for let me know! I am now going to change the codes to look more natural. Many thanks again!

 

Regards,

CalcLoverHK



#30 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 27 July 2019 - 08:13 AM

Dear community,

 

Another build of Guess Number for graphical calculators has been released. It is version 1.0.0 build 2.

 

Changelogs

-Changed most of the codes to make the display look more natural

-Main menu now has cursor

 

Download link (Updated 2019/8/29 18:45pm UTC+8)

 

Note that the exclusive features of this edition is planned to be included in the future version builds.

 

Planned features

-Advanced settings UI - allowed changing the setting value directly

-Paused menu - has resume, save and quit, give up options

-History records - for reminding the results without writting on paper (can be disabled/showed)

 

Hope you enjoy.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 29 August 2019 - 10:44 AM.


#31 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 03 August 2019 - 08:37 AM

Dear community,

 

Sorry that in last few days I was quite busy with my other things and I don't have much time to develop the game. And now, I can finally release Guess Number build 3 for graphical calculators. (Actually I leaked this build that is unfinished to release in MediaFire but nevermind :P)

 

Changelog

-Advanced setting UI

#Currently the settings are unlimited in value (thinking of let them be intentional)

#Adjust the value by pressing +-×÷

#+:+1, -:-1, ×:+10, ÷:-10

#For repeated number setting, press EXE to toggle between true and false

-Paused menu

#Resume, Save & Quit, Give up options

#Resume: continue the game

#Save & Quit: save the game progress and back to menu

#Give up: directly game over

-Simplified some codes

-Fixed some bugs

 

Download link (Updated 2019/8/29 18:45pm UTC+8)

 

Hope you enjoy.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 29 August 2019 - 10:45 AM.


#32 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 09 August 2019 - 07:22 AM

Dear community,

 

The fourth build of Guess Number for graphical calculator has been released. This build focuses on user experiences and merged the "gn.2con" subprogram into the core program (finally!).

 

Changelogs

-The "gn.2con" program has merged into core program

-Backup save & load

-Saved up many variables using list variable

-Optimized codes for future content

-Improved messages

-Simplified many codes

 

Download link (Updated 2019/8/29 18:45pm UTC+8)

 

Note that the last build for graphical calculator is planned to be build 6 and it will release before September.

 

By the way, I want to specially thanks sentaro21 for his code improvements at list variables. It is really made me excited. Thanks again!

 

Anyway, hope you enjoy this update.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 29 August 2019 - 10:45 AM.


#33 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 12 August 2019 - 09:23 AM

Dear community,

 

The fifth build of Guess Number for graphical calculators has been released.

 

Changelogs

-Added records list

#Up to 999 records

#Can be disabled/enabled

-Improved backup progress

-Re-implemented about menu (Just for testing, it will later be removed in official version)

-Fixed some bugs

 

Download link (Updated 2019/8/29 18:46pm UTC+8)

 

Note that there is an important news that the backup, reset code part and the about menu will eventually become an add-on of Guess Number called "Guess Number backup recovering & information tools" (GNBRIT.g1m) and will not included in main program (G.Number.g1m). Also, the C.Basic Demo version is planned to be released when the official version is released. Note that this version is just a demostration of Guess Number in C.Basic with a few optimization. Although the codes are still compatible with Casio Basic and as well as fx-7400GII and fx-9750GII, The code is not compatible with Casio Basic as of now. It is designed specially for C.Basic and uses optimized codes to run faster only in fx-9860G series with C.Basic.

 

Hope you enjoy this update.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 29 August 2019 - 10:46 AM.


#34 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 13 August 2019 - 10:05 AM

Dear community,

 

The sixth build (the last build) of Guess Number for graphical calculators has been released.

 

Changelogs

-You can now set 4-10 integers to guess

-Fixed a bug

 

Download link (Updated 2019/8/29 18:46pm UTC+8)

 

Hope you enjoy this update.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 29 August 2019 - 10:46 AM.


#35 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 14 August 2019 - 04:55 AM

Dear community,

 

It's finally here! The Guess Number for fx-7400GII/9750GII/9860 series version 1.0.0 has been released officially.

 

Download link (Updated 2019/8/29 12:54am UTC+8)

 

For information about C.Basic Demo version, I have changed the previous day message that this version is now only support fx-9860G series. The source code will be released later afternoon.

 

For long-wait fx-5800P users, thank you all to patiently wait the fx-5800P update. Now, the fx-5800P version 1.3 is in development. This version aims to port as many features of graphical calculator version as I can.

 

Hope you enjoy this update and thanks for reading.

 

Best regards,

CalcLoverHK


Edited by CalcLoverHK, 28 August 2019 - 04:54 PM.


#36 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 14 August 2019 - 10:52 AM

Dear community,

 

The Guess Number for fx-9860G series with C.Basic (1.0.0 C.Basic Demo) has been released.

Note that this version just optimizes the codes and improve better detection to the original fx-7400GII/9750GII/9860G series version.

Please be aware that this is just a demostration version of Guess Number in C.Basic. It will only be updated when each release version is released. Any bugs and errors popped out will not be fixed at this time unless it is very fatal. The time to officially start the C.Basic version developments is unknown.

 

Differences between original version and this version

-Run faster

-Used optimized codes

-Ability to enter program/subprogram through main menu

-Nicer looking while playing (no loading indicator)

-Added a detection if you are installed program/subprogram

 

Download link (Updated 2019/8/29 18:48pm UTC+8)

 

Thank you for your patience.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 29 August 2019 - 10:48 AM.


#37 sentaro21

sentaro21

    Casio Freak

  • Members
  • PipPipPipPip
  • 254 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 14 August 2019 - 11:26 AM

If possible, please attach a program text file that can be convert in C.Basic. ^_^



#38 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 14 August 2019 - 12:22 PM

Hi sentaro21,

 

If possible, please attach a program text file that can be convert in C.Basic. ^_^

OK! Please wait me to change some words.

 

Edit: I can't convert it into the program text file at this time IDK. So I have sent PM to you. Please check your inbox.

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 14 August 2019 - 04:01 PM.


#39 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 16 August 2019 - 04:13 AM

Dear community,

 

The first beta of Guess Number for fx-5800P version 1.3 has been released. This beta mainly ports some features of graphical calculators version and is equivalent to version 1.0.0 build 2~4.

 

Changelogs

-Ported exclusive features from graphical calculators version

-Unfinished features:

#Paused menu

#Records

#GNBRIT subprogram

 

Download link: Guess Number ver.1.3-beta1

 

Hope you enjoy.

 

Regards,

CalcLoverHK



#40 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 161 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:Playing video games (especially Minecraft), calculators, programming (Casio Basic/Basic-like,Scratch), watching memes, IT research, mathematics...

  • Calculators:
    fx-50FHII
    fx-9860GII Emulator (expired)
    fx-CG50 Emulator (expired)

Posted 18 August 2019 - 04:25 AM

Dear community,

The Guess Number (Game Project) thread in Casiopeia is currently up. Website: http://www.casiopeia...3f96650d5a41971

Note that this thread is currently being developed and it contains some errors. Therefore, please be patient to wait for finishing. If you really want to see the instructions, you may go to https://c.casiocalc.org/t7881 to get more details.

Thanks for reading and welcome Casiopeia guests/members!

Regards,
CalcLoverHK


Edited by CalcLoverHK, 18 August 2019 - 04:28 AM.






Also tagged with one or more of these keywords: Game, Guess Number, fx-5800P, fx-7400GII, fx-9750GII, fx-9860G series, fx-CG series

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users