Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Factorial-NX Switch: Difference between revisions

From GameBrew
(Created page with "{{Infobox Switch Homebrews |title=Factorial-NX |image=factorialnxswitch.png |description=A Nintendo Switch homebrew to calculate the factorial of a number. |author=Zamacian |lastupdated=2023/05/25 |type=Math |version=1.0.1 |license=Mixed |download=https://dlhb.gamebrew.org/switchhomebrews/factorialnxswitch.7z |website=https://github.com/Zamacian/Factorial-NX |source=https://github.com/Zamacian/Factorial-NX |donation= }} {{#seo: |title=Switch Homebrew Apps (Math) - GameBr...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
|source=https://github.com/Zamacian/Factorial-NX
|source=https://github.com/Zamacian/Factorial-NX
|donation=
|donation=
}}
{{#seo:
|title=Switch Homebrew Apps (Math) - GameBrew
|title_mode=append
|image=factorialnxswitch.png
|image_alt=Factorial-NX
}}
}}
Factorial-NX is a Nintendo Switch homebrew application developed by Zamacian to calculate the factorial of a given number. The purpose of this project is for the developer to learn the basics of libnx, a library used for developing homebrew applications for the Nintendo Switch. The application itself may not have much practical use, but it serves as a learning exercise for the developer.
Factorial-NX is a Nintendo Switch homebrew application developed by Zamacian to calculate the factorial of a given number. The purpose of this project is for the developer to learn the basics of libnx, a library used for developing homebrew applications for the Nintendo Switch. The application itself may not have much practical use, but it serves as a learning exercise for the developer.
Line 23: Line 17:
The application has a limitation that it can only calculate factorials up to 25 due to the highest number the Switch supports being 2^63.
The application has a limitation that it can only calculate factorials up to 25 due to the highest number the Switch supports being 2^63.


== Commands ==
== User guide ==
===Commands===
To make things easier, let's just say that the number you want to factor is called Jeffrey
To make things easier, let's just say that the number you want to factor is called Jeffrey


Line 34: Line 29:
* Everything else will show you the 'help' menu
* Everything else will show you the 'help' menu


== What to know ==
=== What to know ===
The letter shown before the value of the number is what executed the action :
The letter shown before the value of the number is what executed the action :


Line 40: Line 35:
* (B) means you substracted 1 by pressing B
* (B) means you substracted 1 by pressing B
* (X) or (Y) means you set the number to 0 by pressing X or Y
* (X) or (Y) means you set the number to 0 by pressing X or Y
Feel free to copy and distribute it as much as you want without any legal restrictions.
Could be optimized but then the code would be very ugly.
App icon generated using Dall-E 2


==Screenshots==
==Screenshots==
Main look and operation :
{| style="width: 80%; margin-left:0em;"
{| style="width: 80%; margin-left:0em;"
|
|'''Main look and operation'''
https://dlhb.gamebrew.org/switchhomebrews/factorialnxswitch-01.png
|-
|}
|https://dlhb.gamebrew.org/switchhomebrews/factorialnxswitch-01.jpg
What happens when you press A, B and X :
|-
{| style="width: 80%; margin-left:0em;"
|'''What happens when you press A, B and X'''
|
|-
https://dlhb.gamebrew.org/switchhomebrews/factorialnxswitch-02.png
|https://dlhb.gamebrew.org/switchhomebrews/factorialnxswitch-02.jpg
|}
|-
Help menu :
|'''Help menu'''
{| style="width: 80%; margin-left:0em;"
|-
|
|https://dlhb.gamebrew.org/switchhomebrews/factorialnxswitch-03.jpg
https://dlhb.gamebrew.org/switchhomebrews/factorialnxswitch-03.png
|}
|}
==Changelog==  
==Changelog==  
'''v1.0.1'''
'''v1.0.1'''
Line 69: Line 57:
* The first release of the only Homebrew that calculates the factorial of a number in a couple of clicks!
* The first release of the only Homebrew that calculates the factorial of a number in a couple of clicks!
* Probably the only release I'll make except if there's an issue / I have new ideas.
* Probably the only release I'll make except if there's an issue / I have new ideas.
* I recommend starting with Homebrew development by trying to understand this one!
* I recommend starting with Homebrew development by trying to understand this one.
* Thanks for downloading it.
* Thanks for downloading it.
==Credits==
App icon generated using Dall-E 2.


== External links ==
== External links ==
* Github - https://github.com/Zamacian/Factorial-NX
* GitHub - https://github.com/Zamacian/Factorial-NX

Latest revision as of 04:59, 6 Haziran 2023

Factorial-NX
Factorialnxswitch.png
General
AuthorZamacian
TypeMath
Version1.0.1
LicenseMixed
Last Updated2023/05/25
Links
Download
Website
Source

Factorial-NX is a Nintendo Switch homebrew application developed by Zamacian to calculate the factorial of a given number. The purpose of this project is for the developer to learn the basics of libnx, a library used for developing homebrew applications for the Nintendo Switch. The application itself may not have much practical use, but it serves as a learning exercise for the developer.

The application has a limitation that it can only calculate factorials up to 25 due to the highest number the Switch supports being 2^63.

User guide

Commands

To make things easier, let's just say that the number you want to factor is called Jeffrey

  • a to add 1 to Jeffrey
  • b to subtract 1 from Jeffrey
  • x or y to set Jeffrey to 0
  • any trigger (r/l/zr/zl) to clear the console
  • Minus (-) to factor Jeffrey
  • Plus (+) to exit the Homebrew
  • Everything else will show you the 'help' menu

What to know

The letter shown before the value of the number is what executed the action :

  • (A) means you added 1 by pressing A
  • (B) means you substracted 1 by pressing B
  • (X) or (Y) means you set the number to 0 by pressing X or Y

Screenshots

Main look and operation
factorialnxswitch-01.jpg
What happens when you press A, B and X
factorialnxswitch-02.jpg
Help menu
factorialnxswitch-03.jpg

Changelog

v1.0.1

  • Bug fixes and variable rename.

v1.0.0

  • The first release of the only Homebrew that calculates the factorial of a number in a couple of clicks!
  • Probably the only release I'll make except if there's an issue / I have new ideas.
  • I recommend starting with Homebrew development by trying to understand this one.
  • Thanks for downloading it.

Credits

App icon generated using Dall-E 2.

External links

Advertising: