Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Blockly, Learn programming become easier

views
     
TSflashang
post Feb 17 2022, 11:32 PM, updated 4y ago

Casual
***
Junior Member
355 posts

Joined: Aug 2021


IMHO, programming is learn logical thinking, calculation and flow control.

For other features, beginner may call the API (black box),
unless they want to understand how it work, or create themselves.

Tools are keeping improve, learn programming become easier.

Take a look :

https://developers.google.com/blockly/

smile.gif


TSflashang
post Feb 19 2022, 05:17 PM

Casual
***
Junior Member
355 posts

Joined: Aug 2021


Saw my nephew (8 years old) doing this by reading tutorial.

https://www.create-learn.us/blog/scratch-po...orial-for-kids/

You may also try the online demo at
Pong Starter by Scratchteam


So i tried to do in html + js (about 240 lines)
Attach with screen capture gif.

tongue.gif

user posted image

This post has been edited by flashang: Feb 19 2022, 05:19 PM
FlierMate
post Feb 19 2022, 06:30 PM

On my way
****
Validating
543 posts

Joined: Nov 2020
QUOTE(flashang @ Feb 19 2022, 05:17 PM)

So i tried to do in html + js (about 240 lines)
Attach with screen capture gif.

tongue.gif 

user posted image
*
Nice html+js demo, the game become faster and faster...

I thought Malaysian web developers mostly do database querying, but am amazed coder like you can make game with javascript. 240 lines not long, wonder if you make your code open-source?
TSflashang
post Feb 19 2022, 11:10 PM

Casual
***
Junior Member
355 posts

Joined: Aug 2021


QUOTE(FlierMate @ Feb 19 2022, 06:30 PM)
Nice html+js demo, the game become faster and faster...

I thought Malaysian web developers mostly do database querying, but am amazed coder like you can make game with javascript. 240 lines not long, wonder if you make your code open-source?
*
Because i use other material from web for this coding practice,
i have to check the license (Terms of Use) before decide for next action.

smile.gif


silverhawk
post Feb 20 2022, 11:40 AM

Eyes on Target
Group Icon
Elite
4,956 posts

Joined: Jan 2003


QUOTE(FlierMate @ Feb 19 2022, 06:30 PM)
Nice html+js demo, the game become faster and faster...

I thought Malaysian web developers mostly do database querying, but am amazed coder like you can make game with javascript. 240 lines not long, wonder if you make your code open-source?
*
There are quite a few JS based games out there. HTML + CSS + JS gives you all the building blocks you need to build a game.

https://mk.mgechev.com/

Have fun tongue.gif
TSflashang
post Feb 20 2022, 01:27 PM

Casual
***
Junior Member
355 posts

Joined: Aug 2021


QUOTE(silverhawk @ Feb 20 2022, 11:40 AM)
There are quite a few JS based games out there. HTML + CSS + JS gives you all the building blocks you need to build a game.

https://mk.mgechev.com/

Have fun tongue.gif
*
This is an old website, which did not use html5.

100 JavaScript games to play online !

but the concept are similar, just use different method to control graphics.

smile.gif


Zoom777
post Sep 25 2022, 08:42 PM

New Member
*
Validating
43 posts

Joined: Apr 2017
I think this is called block-based coding, that's why it is called "Blockly".

angch
post Sep 26 2022, 11:02 AM

On my way
****
Junior Member
636 posts

Joined: Jul 2006
QUOTE(FlierMate @ Feb 19 2022, 06:30 PM)
I thought Malaysian web developers mostly do database querying, but am amazed coder like you can make game with javascript.
*
Oi. Stop dissing Malaysian coders.
BonBonvoyage
post Sep 26 2022, 01:46 PM

New Member
*
Junior Member
43 posts

Joined: Jul 2022
nice learning tool

but i think better to work with an online course and code along with the instructor
TSflashang
post Sep 26 2022, 05:08 PM

Casual
***
Junior Member
355 posts

Joined: Aug 2021


QUOTE(FlierMate @ Feb 19 2022, 06:30 PM)
I thought Malaysian web developers mostly do database querying, but am amazed coder like you can make game with javascript.
Language is just a tool.
A lot of people are able to do some simple game such as tic-tac-toe, pong, ...
with either python, js, c, c#, c++, ... any language,
just convert the logic, syntax and choose appropriate display output.

Migrate from block-coding "scratch" to python are introduced by some school.

smile.gif



This post has been edited by flashang: Sep 26 2022, 05:12 PM
junyian
post Sep 27 2022, 10:43 AM

Casual
***
Junior Member
401 posts

Joined: Jan 2003


QUOTE(flashang @ Sep 26 2022, 05:08 PM)
Language is just a tool.
A lot of people are able to do some simple game such as tic-tac-toe, pong, ...
with either python, js, c, c#, c++, ... any language,
just convert the logic, syntax and choose appropriate display output.

Migrate from block-coding "scratch" to python are introduced by some school.

smile.gif
*
Can't agree more. Choose the best tool for the job, but no harm to go crazy smile.gif

Here's an example: AES-128 implementation... in scratch!

https://twitter.com/David3141593/status/1467174256677212164

Zoom777
post Sep 27 2022, 04:20 PM

New Member
*
Validating
43 posts

Joined: Apr 2017
QUOTE(junyian @ Sep 27 2022, 10:43 AM)
Can't agree more. Choose the best tool for the job, but no harm to go crazy smile.gif

Here's an example: AES-128 implementation... in scratch!

https://twitter.com/David3141593/status/1467174256677212164
*
Man, it is terrific!

user posted image
Taikor.Taikun
post Sep 28 2022, 10:21 PM

Regular
******
Senior Member
1,020 posts

Joined: Sep 2018
Other popular block programming: Scratch & ScratchJr, Snap

 

Change to:
| Lo-Fi Version
0.0283sec    0.81    5 queries    GZIP Disabled
Time is now: 24th December 2025 - 10:41 PM