We are starting a series of videos to briefly demonstrate Craft Basic examples and features.
15 Puzzle Game
https://youtu.be/pLpXnLFn9qs
Attractive Numbers
https://youtu.be/73LsnKmiZrs
Prime Decomposition
https://youtu.be/rMIjreP_zho
Search found 109 matches
- Fri Jun 30, 2023 4:14 am
- Forum: Craft Basic Archive
- Topic: Craft Basic on Youtube
- Replies: 1
- Views: 3578
- Thu Jun 29, 2023 4:07 am
- Forum: News
- Topic: Craft Basic version 1.5 released
- Replies: 0
- Views: 7289
Craft Basic version 1.5 released
With this latest update to Craft Basic, a few things have changed while many new features have been added. There's now over 20 new examples. Among the changes, the print command now displays to an output window. The new custom output window uses RTF and is similar to the one Just Basic has. You may ...
- Mon Jun 26, 2023 8:16 pm
- Forum: News
- Topic: New registrations
- Replies: 4
- Views: 4937
New registrations
Spammers have been driving me nuts here lately, so I enabled email verification for new registrations. New accounts must verify their email. If you don't see the email, check your spam folder. Hopefully this slows down the spammers. If not, I will take it a step further and enable admin approvals fo...
- Tue Jun 13, 2023 3:37 am
- Forum: Craft Basic Archive
- Topic: Craft Basic on Rosetta Code
- Replies: 4
- Views: 3901
Re: Craft Basic on Rosetta Code
I have been busy doing Rosetta code tasks. It's fun. While running doing these tasks, I also test them in Commando Basic. The results are great. It can do a lot of things that Craft Basic cannot. Faster too. 'factors of an integer example do input "enter an integer", n loop n = 0 let a = a...
- Sun Jun 11, 2023 11:30 pm
- Forum: Craft Basic Archive
- Topic: Craft Basic on Rosetta Code
- Replies: 4
- Views: 3901
Re: Craft Basic on Rosetta Code
More tasks complete... 'dot product example dim a[1, 3, -5] dim b[4, -2, -1] arraysize n, a for i = 0 to n - 1 let s = s + a[i] * b[i] next i print s end 'van eck sequence example define limit = 1000 dim list[limit] print "calculating van eck sequence..." for n = 0 to limit - 1 for m = n -...
- Sun Jun 11, 2023 11:14 pm
- Forum: C/C++
- Topic: An obfuscated C coding contest
- Replies: 16
- Views: 107262
Re: An obfuscated C coding contest
I think you're probably right in that neither one is better in all areas. The fact that there's an alternative to the Microsoft library is a good enough reason alone.
Still, it would be valuable knowledge to break down the differences from a low level code perspective. Not an easy task.
Still, it would be valuable knowledge to break down the differences from a low level code perspective. Not an easy task.
- Sun Jun 11, 2023 6:12 am
- Forum: Craft Basic Archive
- Topic: Craft Basic on Rosetta Code
- Replies: 4
- Views: 3901
Re: Craft Basic on Rosetta Code
Here's a few more. 'munching squares example let s = 255 for y = 0 to s for x = 0 to s let r = x ~ y fgcolor r, r * 2, r * 3 dot x, y wait next x next y end 'harshard numbers example for i = 1 to 1002 let t = i let s = 0 do let s = s + t % 10 let t = int(t / 10) wait loop t > 0 if i % s = 0 and (c <...
- Sat Jun 10, 2023 11:18 pm
- Forum: Craft Basic Archive
- Topic: Craft Basic on Rosetta Code
- Replies: 4
- Views: 3901
Re: Craft Basic on Rosetta Code
I have solved more tasks on Rosetta Code with Craft Basic. These snippets will be included with the next version of Craft Basic (whenever it is released), but are uploaded to Rosetta code for now. 'roots of unity example define theta = 0, real = 0, imag = 0 define pi = 3.14, n = 5 for m = 0 to n - 1...
- Thu Jun 08, 2023 5:00 am
- Forum: C/C++
- Topic: An obfuscated C coding contest
- Replies: 16
- Views: 107262
Re: An obfuscated C coding contest
Yuk! Definitely can identify with the car problems. My wife drives an old clunker that is forever having problems. But the price of new cars - and even used cars - makes it hard to replace it! So frustrating! Replacing cars can be painful. No need to feel silly. You don't know what you don't know! ...
- Tue Jun 06, 2023 6:01 pm
- Forum: C/C++
- Topic: An obfuscated C coding contest
- Replies: 16
- Views: 107262
Re: An obfuscated C coding contest
Just getting back to my computer after a very stressful week. My work car has major transmission issues that I have been desperately trying to get fixed. So, I feel silly now. Your suggestion about the file names being cpp and not c was the issue. All 3 versions now compile using Borland 5.5, includ...