Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

decker lessons (videos with decks)

A topic by tangentstorm created 13 days ago Views: 146 Replies: 5
Viewing posts 1 to 5
(4 edits) (+5)

Quick links:

Hello. I'm teaching my 8-year-old daughter to program with decker this summer... Or at least attempting to. :)

As a side effect, I'm making the lessons available on YouTube and as interactive decks.

The first lesson is a simple number-guessing game: hilo-tutor.deck

Content for future lessons will primarily be guided by what she's interested in (at least for now), but I'm also open to requests...

edit: moved to my main YouTube channel

(+4)

That’s so cute!! Thank you for sharing. I think Decker sounds like a great introduction to programming.

(+3)

This is really wonderful, thank you for sharing it with the community too!

(1 edit) (+3)

Lesson 2: Tic Tac Toe

Make a simple version of the game, with 2 human players. Covers making canvas widgets with the drawing tools, copying images between canvases, and other fun tricks.

Deck: ttt-1-basics

Developer(+2)

Nice video!

The ".." notation can simplify a few of these scripts a bit. Instead of writing

each c in selected c.draggable:0 end

You can use this shorthand:

selected..draggable:0

The same goes for this example:

each w in cx,co w.show:"none" end

Form a list, and then use ".." notation to write the attribute for each element in the list:

(cx,co)..show:"none"
(1 edit) (+2)

In this Decker lesson, we'll walk through building a reusable grid selector contraption that you can copy and paste into your own decks.

grid-selector deck