| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 47 online users. » 0 Member(s) | 45 Guest(s) Applebot, Bing
|
| Latest Threads |
I bought a PicoCalc
Forum: Everything else
Last Post: johnno56
Today, 12:39 AM
» Replies: 1
» Views: 16
|
Gorn vs Spock
Forum: Programming
Last Post: aurel
Yesterday, 05:58 PM
» Replies: 1
» Views: 281
|
Galaga7
Forum: NaaLaa 7 Code
Last Post: aurel
01-12-2026, 10:20 PM
» Replies: 3
» Views: 340
|
Connect 4
Forum: NaaLaa 7 Code
Last Post: Marcus
01-12-2026, 06:37 PM
» Replies: 7
» Views: 350
|
Any chance of writing a t...
Forum: Suggestions
Last Post: luwal
01-11-2026, 07:49 AM
» Replies: 7
» Views: 1,824
|
DeepCoin in micro(A)
Forum: Programming
Last Post: aurel
01-10-2026, 08:56 AM
» Replies: 16
» Views: 343
|
Tic-Tac-Toe
Forum: NaaLaa 7 Code
Last Post: johnno56
01-07-2026, 07:58 AM
» Replies: 4
» Views: 781
|
Jam for All Basic Dialect...
Forum: Programming
Last Post: luwal
01-06-2026, 11:40 PM
» Replies: 28
» Views: 1,304
|
Happy New Year
Forum: Everything else
Last Post: aurel
01-05-2026, 10:24 AM
» Replies: 5
» Views: 1,090
|
Compile an n7 file from t...
Forum: NaaLaa 7 Questions
Last Post: kevin
01-04-2026, 12:45 PM
» Replies: 2
» Views: 150
|
|
|
| N7 version 25.08.30 released |
|
Posted by: Marcus - 08-30-2025, 07:37 AM - Forum: Announcements
- Replies (7)
|
 |
2025-08-30 - Added the command 'file seek' and the functions 'filetell' and 'fileseek' (examples/help/file_seek_tell.n7)
- ngui: Fixed a bug that could cause a crash in the enginea editor. A widget now loses keyboard focus if you click anywhere outside it
- s3d: 'S3D_Clear' and 'S3D_BeginMesh' now set the primitive color to white, an implicit call to 'S3D_Color(255, 255, 255)'
- Added the games Darned Dungeon and Blocks 3D to examples/games
https://naalaa.com/n7/N7_250830.zip
|
|
|
| Sorting Algorithms |
|
Posted by: johnno56 - 08-09-2025, 11:53 AM - Forum: Programming
- Replies (2)
|
 |
I have been tinkering with AI (mainly Copilot) to reproduce those fascinating visual sorting programs. The AI is not 100% accurate when it comes to Naalaa, but in most cases, the syntax is somewhat easy enough for me to convert.... I have managed to replicate 6 popular sorting algorithms... Bubble, Insertion, Selection, Merge, Heap, Cocktail and the infamous Bogo sort.
One interesting thing I found was, inserting a 'wait' value of zero seconds has an effect on the speed of the sort. For example: Bubble sorting 200 samples with a 'wait 0' in the sort loop, takes about 41 seconds... remove the wait statement and the time is reduced to almost 8 seconds... apart from the Bogo sort, all other algorithms performed similarly.
Two points to remember... These visual sorting algorithms are a little mind-numbing and are purely here as "see if I can" experiment... the second: Bogo sort, in my opinion, is one of the most useless sort routines on the planet... try not to go beyond 5 elements to sort... All of the other algorithms use 200 elements... Moo Ha Ha Ha Ha.
sorting.zip (Size: 5.74 KB / Downloads: 10)
Remove the 'wait' statements and record the timings... Curious to know the results....
ps: Try to stay awake... lol
|
|
|
| Darned Dungeon |
|
Posted by: Marcus - 08-01-2025, 11:11 AM - Forum: NaaLaa 7 Code
- Replies (10)
|
 |
A game about some sort of Australian boomerang throwing mate trapped in a weird dungeon will be released in a few days! So get ready for eight levels and a boss fight (ye, it's a short game)!
<video width="320" height="240" controls><source src="https://naalaa.com/tmp/darned_dungeon.mp4" type="video/mp4">Your browser does not support the video tag.</video>
|
|
|
|