{"id":21002898,"url":"https://github.com/mobluse/aritmjs","last_synced_at":"2026-02-09T06:35:16.681Z","repository":{"id":53004788,"uuid":"143328659","full_name":"mobluse/aritmjs","owner":"mobluse","description":"Aritm in BASIC (ZX/C64/Tiny/GW/MM), PHP, Python, \u0026 JavaScript is a mental calculation training game","archived":false,"fork":false,"pushed_at":"2026-02-07T02:21:22.000Z","size":427,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-07T10:11:32.445Z","etag":null,"topics":["appleii","aritm","basic","basicode","c64","commander-x16","commanderx16","commodore64","foss","game","gw-basic","javascript","jsbasic","maker-pi-pico","mental-calculation","mmbasic","numworks","php","python","vic20"],"latest_commit_sha":null,"homepage":"http://aritm.orbin.se","language":"BASIC","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mobluse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-08-02T18:00:09.000Z","updated_at":"2026-02-07T02:21:26.000Z","dependencies_parsed_at":"2025-09-21T17:28:58.697Z","dependency_job_id":"3ef4d7bd-c57f-4764-81df-f77ae37cbb3e","html_url":"https://github.com/mobluse/aritmjs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mobluse/aritmjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Faritmjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Faritmjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Faritmjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Faritmjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mobluse","download_url":"https://codeload.github.com/mobluse/aritmjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Faritmjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29258245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appleii","aritm","basic","basicode","c64","commander-x16","commanderx16","commodore64","foss","game","gw-basic","javascript","jsbasic","maker-pi-pico","mental-calculation","mmbasic","numworks","php","python","vic20"],"created_at":"2024-11-19T08:21:10.204Z","updated_at":"2026-02-09T06:35:16.676Z","avatar_url":"https://github.com/mobluse.png","language":"BASIC","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aritmjs\nAritm for various programming languages, e.g. dialects of BASIC, PHP, and JavaScript, is FOSS.\n\nRun online in browser:\n* https://mobluse.github.io/aritmjs/ (Mostly for mobile browsers. Uses Local Storage to save data between invocations and can be run in flight mode.)\n* http://bc3c.orbin.se (Works well in Chrome on Android and iPhone.)\n* https://calormen.com/jsbasic/ (Works well in Chrome on iPhone.)\n* https://www.commanderx16.com/webemu/x16emu.html?manifest=/forum/download/file.php?id=1518\n\nSee demos on YouTube:\n* Transam Triton: https://youtu.be/DEfL17FnStc\n* C64/THEC64 MINI: https://youtu.be/65AOkL8Yz6E\n* Feature Phones (with Java ME/J2ME): https://youtu.be/hnBfS8jpjZU\n\nAritm exists for many plattforms e.g. graphing calculators (TI and Casio), spreadsheets, feature phones with Java, etc., see http://aritm.orbin.se. Aritm was first developed in C in 1992, and then in Java, TI-BASIC 83, and TinyBASIC. The versions for other BASIC dialects were developed from the Tiny BASIC version or its descendants. \n\nThe original purpose of this repository was to develop a version for JavaScript that works like the BASIC versions for retro computers, but since\nJavaScript doesn't have `goto` that was difficult to write until DeepSeek AI could convert the spaghetti code of the original aritm.php to aritm-struct.php and that made the JavaScript and Python versions possible.\n\nConvert BASIC to JavaScript:\n* https://paulsperambulations.wordpress.com/2017/03/04/converting-basic-to-javascript/\n* https://www.codeproject.com/Articles/25069/JSBasic-A-BASIC-to-JavaScript-Compiler\n\nHow to produce the C64 d64 diskette image in Windows 10 using WinVICE/VICE 2.4 - 3.5:\n\n    petcat -w2 -o aritm.prg -- aritm-c64.bas\n    c1541 -format aritm03_m6,00 d64 aritm03.d64 -write aritm.prg aritm\n\nHow to produce the VIC20 d64 diskette image in Windows 10:\n\n    petcat -l 1201 -w2 -o aritm-vic20.prg -- aritm-vic20.bas\n    c1541 -format aritm03_mvb1,00 d64 aritm03-vic20.d64 -write aritm-vic20.prg aritm-vic20\n    \nHow to make the VIC-20 bas-file from prg-file in Windows 10:\n\n    c1541 -attach aritm03-vic20.d64 -extract\n    move aritm-vic20 aritm-vic20.prg\n    petcat -nh -2 -- aritm-vic20.prg | wsl sed 's/^ *//' | wsl mac2unix | wsl unix2dos \u003e aritm-vic20.bas\n\nEssential VIC-20 info:\n* http://www.sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?p=66937#p66937\n* https://www.pagetable.com/?p=273\n\nHow to produce the p-file for ZX81 in Linux:\n\n    zxtext2p -o aritm-zx81.p aritm-zx81.bas\n    xz81 aritm-zx81.p\n\nIn xz81 ZX81 emulator: `RUN 4800`  \nThat creates a new aritm-zx81.p that auto-starts.\n\nConvert the ZX81 version to ZX Spectrum:\n\n    sed 's/GOTO/GO TO/;s/GOSUB/GO SUB/;s/RAND/RANDOMIZE/;s/SCROLL/POKE 23692,255/' aritm-zx81.bas \u003e aritm-zx81sp.bas\n\nHow to produce the tap-file for ZX Spectrum in Linux:\n\n    bas2tap -a10 aritm-zx81sp.bas\n\nHow to run the ZX Spectrum version in Linux:\n\n    zesarux --machine 48k aritm-zx81sp.tap\n\nNote that the ZX Spectrum version doesn't work due to convertion problems. There is the orginal version for ZX Spectrum `aritm-zxsp.bas` from\nwhich the ZX81 version was made, but that also doesn't work, but that is not strange since it uses 9 digit precision instead of 8 digit as the\nZX81 version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobluse%2Faritmjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobluse%2Faritmjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobluse%2Faritmjs/lists"}