Petit Computer
{{Infobox video game
| title = Petit Computer
| image =
| caption =
| developer = SmileBoom
| publisher = Nintendo DSi{{vgrelease|JP|SmileBoom|WW|GameBridge}}{{cite web |title=Petit Computer - GameBridge |url=http://www.gamebridge.co.uk/game/index_game_petitcomputer.html |website=www.gamebridge.co.uk}}{{cite web |title=Developed in-house |url=https://smileboom.com/en/product/ |website=SmileBoom |language=en |date=18 October 2016}}
Nintendo 3DS, Wii U, Nintendo Switch{{vgrelease|WW|SmileBoom}}
| platforms = Nintendo DSi
Nintendo 3DS
Wii U
Nintendo Switch
| released = Nintendo DSi{{vgrelease|JP|March 9, 2011|NA|July 19, 2012|EU|July 25, 2013}}Nintendo 3DS{{vgrelease|JP|November 19, 2014|NA|October 15, 2015|EU|August 17, 2017}}Wii U{{vgrelease|JP|December 14, 2016}}Nintendo Switch{{vgrelease|JP|May 23, 2019|WW|April 23, 2020}}
| genre = Software development application
| modes = Single-player
}}
Petit Computer is a software development application for the Nintendo DSi and later systems, developed by SmileBoom in Sapporo, Japan.{{cite web |title=Developed in-house |url=https://smileboom.com/en/product/ |website=SmileBoom |accessdate=30 March 2020 |language=en |date=18 October 2016}}{{cite web |title=Company Profile |url=https://smileboom.com/en/company/summary/ |website=SmileBoom |accessdate=30 March 2020 |language=en |date=18 October 2016}} The application is built around a custom dialect of BASIC known as SmileBASIC (not to be confused with the 3DS sequel with the same name). Users can write games and other software using the onscreen keyboard and run the applications from within Petit Computer. The platform supports text-based console applications, visual applications, and any combination of the two. Input is available via hardware buttons, touchscreen input, or the onscreen keyboard.
In addition to the code editor and interpreter, Petit Computer includes a simple shell for file management, as well as file sharing functionality. Files can be shared by a direct wireless connection between two DS systems, or by the use of QR codes.
The usage of QR codes enabled some users to develop desktop software that can be used to write SmileBASIC and generate a QR code for easy transfer to the DS.{{cite web|url=http://www.nintendolife.com/reviews/dsiware/petit_computer|title=Petit Computer (DSiWare) Review - Nintendo Life|author=Nintendo Life|work=Nintendo Life|date=24 July 2012}}
Petit Computer comes with several simple sample applications, 5 sample games, and several graphics-editing applications, all written in SmileBASIC with viewable source code.{{cite web |title=Sample Program - Petit Computer |url=http://www.petitcomputer.com/sample/ |website=Petit Computer |archiveurl=https://web.archive.org/web/20150217080628/http://www.petitcomputer.com/sample/ |archivedate=17 February 2015}} The latter applications can be used to create sprites, backgrounds, and other resources that can then be used within user-created software. Hundreds of premade sprites and tiles are included with Petit Computer. An extensive manual is available from within Petit that describes the basic features and limitations of SmileBASIC, as well as brief descriptions of most of the commands and their syntax.
SmileBASIC language
Petit Computer uses a customized dialect of BASIC known as SmileBASIC designed specifically for the DSi. Applications written in SmileBASIC can read input from all of the DS's hardware buttons except the Select button (which is always used to terminate the current application) as well as the touch screen, draw graphics and sprites to both screens, and play music written in Music Macro Language. Standard console commands are provided for reading, writing, and manipulating strings. An exhaustive set of graphical commands exists for displaying and manipulating sprites, background graphics, panels, and more, with support for layering, translation, rotation, scaling, palette swapping, and other features, on both screens (some features are limited on the touch screen). Up to 16 channels can be used to play simultaneous audio, with support for fully featured user-defined software instruments and sequenced music.
Reception
Nintendo Life gave the application 7/10 stars, praising its power and potential, but criticizing the presentation as tailored towards seasoned programmers, as well as the "tedious" method of entering code via the touch-screen keyboard. Peter Willington at PocketGamer said the interface "puts you off experimenting" due to the difficulties in entering and navigating text, and complained that error messages weren't useful, but described himself as "massively proud" of his accomplishments with the software and wrote that "experienced hands will be able to make any kind of software they like".{{cite web|url=http://www.pocketgamer.co.uk/r/3DS/Petit+Computer/feature.asp?c=53346|title=The problem with programming: my adventure in BASIC with Petit Computer for DS|date=7 September 2013|work=Pocket Gamer}}
Sequels
A sequel designed for the Nintendo 3DS, with new features and fewer limitations, released on November 19, 2014 in Japan; October 15, 2015 in North America; and August 17, 2017 in Europe. The sequel is titled SmileBASIC (the same name as the dialect of BASIC used in both applications).{{cite web|url=http://smilebasic.com/en/|title=SmileBASIC|work=smilebasic.com}} Nintendo Life gave the application 8/10 stars, praising the removal of QR codes and the power of the language, but again criticizing the cumbersome keyboard.{{cite web|url=http://www.nintendolife.com/reviews/3ds-eshop/smilebasic|title=SmileBASIC Review|date=15 December 2015|work=Nintendo Life}} Projects are shared online, with users getting the ability to share up to 10 files at 4 MB each, and can subscribe to a Gold Membership to increase the limit to 110 files at 20 MB each.
In 2015, it was announced that SmileBASIC would be ported to the Wii U.{{cite web|url=http://www.nintendolife.com/news/2015/10/smilebasic_is_heading_to_wii_u_with_cross-platform_support_and_dlc_also_confirmed|title=SmileBASIC is Heading to Wii U, With Cross-Platform Support and DLC Also Confirmed|date=17 October 2015}} The program was removed from the North America eShop on July 11, 2016 due to an exploit that existed in between versions 3.2.1 and up to version 3.3.1 of the program. The exploit was fixed in version 3.3.2 of the application, and as a result SmileBASIC was put back up for sale on the North American eShop on August 10, 2016.{{Cite web|url=http://smilebasic.com/en/whatsnew/|title = What's New}} As of system version 11.1.0-X released September 12, 2016, when trying to load the game, the system does not allow users to launch the title until the software is updated to version 3.3.2 or higher, forcing users to download the patch, rendering the exploit unusable even if the older version of the game is available.{{Cite web|url=https://www.3dbrew.org/wiki/11.1.0-34|title = 11.1.0-34 - 3dbrew}}
Another sequel designed for the Nintendo Switch, called SmileBASIC 4 or Petit Computer 4: SmileBASIC in Japan, was released in Japan on May 23, 2019 and released internationally on April 23, 2020.{{cite web |title=プチコン4 SmileBASIC |url=https://www.petc4.smilebasic.com/?lang=en |website=プチコン4 |publisher=SmileBoom |language=en}}{{cite web |title="SmileBASIC 4", a programming tool that allows you to create and play games with Nintendo Switch™ The release date is on April 23, 2020! The official website have been released!|url=https://twitter.com/smilebasic_com/status/1250839028808605697|website=Twitter |publisher=SMILEBASIC.com |language=en |date=16 April 2020}}{{cite web |title=Developed in-house |url=https://smileboom.com/en/product/ |website=SmileBoom |language=en |date=18 October 2016}} As well as taking advantage of the functions of the Nintendo Switch hardware, such as the Joy-Con controllers and the USB ports on the dock for keyboard and mouse support, the online sharing function now utilises "server tickets" instead of an ongoing subscription for uploaded programs and games, where each ticket purchased increases the amount of online storage you have.{{cite web |title=プチコン4とは? {{!}} プチコン4 SmileBASIC |url=https://www.petc4.smilebasic.com/about?lang=en |website=プチコン4 |publisher=SmileBoom |language=en}} SmileBASIC 4 can be purchased as a bundle with one server ticket, or just as the software alone.{{cite web |title=Nintendo Switch|ダウンロード購入|プチコン4 SmileBASIC |url=https://ec.nintendo.com/JP/ja/titles/70010000010547 |website=任天堂ホームページ |publisher=Nintendo |language=ja}} A free trial version of SmileBASIC 4 is also available in Japan. Shortly after releasing, the international version of SmileBASIC 4 was temporarily pulled from sale in some areas as SmileBoom discussed ratings with the IARC for two sample programs in the software, {{mono|GAME_RPG}} and {{mono|GAME_SHOOTER}}.{{Cite web|title=[Important Notice] We are currently discussing ratings with IARC on the content of the sample code (GAME_PRG, GAME_SHOOTER) in the title, SmileBASIC 4, so we are temporarily suspending sales in some sales areas (US, CA and Mexico are all still on sale).|url=https://twitter.com/smilebasic_com/status/1255746406121238529|last=SMILEBASIC.com|date=2020-04-29|website=@smilebasic_com|language=en|archive-url=|archive-date=|access-date=2020-05-07}} The international version remained on sale in the United States, Canada, and Mexico during this period. SmileBASIC 4 was put back up for sale on June 18, 2020.{{Cite web|last=SMILEBASIC.com|date=2020-06-18|title=[News] Today, SmileBASIC 4 is now back on sale in Europe, Australia and other regions! Enjoy the world of SmileBASIC 4!|url=https://twitter.com/smilebasic_com/status/1273602386041298945|archive-url=|archive-date=|access-date=2020-07-11|website=Twitter|language=en}}