SlideShare une entreprise Scribd logo
1  sur  18
Télécharger pour lire hors ligne
A member project of the
        Software Freedom
          Conservancy
20/01/10     LCA Wellington   Walter Bender
Part I:
  1. What is Sugar?
  2. Why should you care?
  3. What can you do?



20/01/10   LCA Wellington   Walter Bender
1. Sugar is the core component
of a worldwide effort to provide
every child with an opportunity
for a quality education.
20/01/10    LCA Wellington   Walter Bender
2. Sugar is a critical-thinking
 tool in the context of open-
 ended exploration and
 discovery, going beyond the
 use of the computer as a tool
 of instruction.
20/01/10    LCA Wellington   Walter Bender
3.1 Try Sugar




20/01/10    LCA Wellington   Walter Bender
20/01/10   LCA Wellington   Walter Bender
3.2 Join our community




           http://sugarlabs.org




20/01/10       LCA Wellington     Walter Bender
3.3 Contribute to Sugar




20/01/10    LCA Wellington   Walter Bender
Part II:
The Anatomy of a Sugar
Activity




20/01/10   LCA Wellington   Walter Bender
The “number” game




20/01/10   LCA Wellington   Walter Bender
View Source




20/01/10     LCA Wellington   Walter Bender
What are all these files?
card.py       – defines an individual card
gencards.py – svg image generator for cards
sprites.py    – draws images on the screen
deck.py       – defines a deck of cards
grid.py       – defines a playing surface
game.py       – game logic
VisualMatchActivity.py     – Sugar UI (toolbars,
  journal, sharing)
20/01/10             LCA Wellington          Walter Bender
What is in the files?
card.py:class Card:
deck.py:class Deck:
game.py:class Game:
game.py:class Combination:
grid.py:class Grid:
sprites.py:class Sprites:
sprites.py:class Sprite:
VisualMatchActivity.py:class VisualMatchActivity(activity.Activity):
VisualMatchActivity.py:class ChatTube(ExportedGObject):


20/01/10                    LCA Wellington             Walter Bender
deck.py
   def __init__(self, sprites, card_type)
   def shuffle(self):
   def deal_next_card(self):
   def cards_remaining(self):




20/01/10                LCA Wellington      Walter Bender
Let's add Mayan to the
               Number Game.




                 Source: http://en.wikipedia.org/wiki/File:Maya.svg




20/01/10               LCA Wellington                                 Walter Bender
Some Python, an icon, ...
def number_mayan(n, stroke):                                  svg_string += svg_circle(x1,y10s,3,stroke,stroke,2)
  x = 42.5                                                    svg_string += svg_circle(x2,y10s,3,stroke,stroke,2)
  x1,x2,xc,x3,x4 = x+5,x+15,x+20,x+25,x+35                    svg_string += svg_circle(x3,y10s,3,stroke,stroke,2)
  y = 60                                                      svg_string += svg_circle(x4,y10s,3,stroke,stroke,2)
  y1s,y5s,y10s,y20s = y,y-10,y-20,y-40                      elif n == 15:
  if n == 5:                                                  svg_string = svg_bar(x,y1s,stroke)
    svg_string = svg_bar(x,y1s,stroke)                        svg_string += svg_bar(x,y5s,stroke)
  elif n == 7:                                                svg_string += svg_bar(x,y10s,stroke)
    svg_string = svg_bar(x,y1s,stroke)                      elif n == 21:
    svg_string += svg_circle(x2,y5s,3,stroke,stroke,2)        svg_string = svg_circle(xc,y1s,3,stroke,stroke,2)

    svg_string += svg_circle(x3,y5s,3,stroke,stroke,2)        svg_string += svg_circle(xc,y20s,3,stroke,stroke,2)
                                                            elif n == 22:
  elif n == 10:
                                                              svg_string = svg_circle(x2,y1s,3,stroke,stroke,2)
    svg_string = svg_bar(x,y1s,stroke)
                                                              svg_string += svg_circle(x3,y1s,3,stroke,stroke,2)
    svg_string += svg_bar(x,y5s,stroke)
                                                              svg_string += svg_circle(xc,y20s,3,stroke,stroke,2)
  elif n == 11:
                                                            elif n == 33:
    svg_string = svg_bar(x,y1s,stroke)
                                                              svg_string = svg_bar(x,y1s,stroke)
    svg_string += svg_bar(x,y5s,stroke)
                                                              svg_string += svg_bar(x,y5s,stroke)
    svg_string += svg_circle(x+20,y10s,3,stroke,stroke,2)
                                                              svg_string += svg_circle(xc,y10s,3,stroke,stroke,2)
  elif n == 14:
                                                              svg_string += svg_circle(xc,y20s,3,stroke,stroke,2)
    svg_string = svg_bar(x,y1s,stroke)
                                                            return svg_string
    svg_string += svg_bar(x,y5s,stroke)


20/01/10                                            LCA Wellington                                   Walter Bender
et voila!




20/01/10   LCA Wellington   Walter Bender
walter@sugarlabs.org




20/01/10         LCA Wellington   Walter Bender

Contenu connexe

Tendances

TABLA DE DERIVADAS
TABLA DE DERIVADASTABLA DE DERIVADAS
TABLA DE DERIVADASEducación
 
数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解く数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解くYoshihiro Mizoguchi
 
Cryptocurrency Jeopardy!
Cryptocurrency Jeopardy!Cryptocurrency Jeopardy!
Cryptocurrency Jeopardy!David Evans
 
Slides September 16
Slides September 16Slides September 16
Slides September 16heviatar
 
Machine learning 2016: deep networks and Monte Carlo Tree Search
Machine learning 2016: deep networks and Monte Carlo Tree SearchMachine learning 2016: deep networks and Monte Carlo Tree Search
Machine learning 2016: deep networks and Monte Carlo Tree SearchOlivier Teytaud
 
C7 7.4
C7 7.4C7 7.4
C7 7.4BGEsp1
 
Problem Of The Week Solution
Problem Of The Week SolutionProblem Of The Week Solution
Problem Of The Week Solutionpatricklonda1
 
12 X1 T07 01 V And A In Terms Of X
12 X1 T07 01 V And A In Terms Of X12 X1 T07 01 V And A In Terms Of X
12 X1 T07 01 V And A In Terms Of XNigel Simmons
 

Tendances (16)

TABLA DE DERIVADAS
TABLA DE DERIVADASTABLA DE DERIVADAS
TABLA DE DERIVADAS
 
Sect1 2
Sect1 2Sect1 2
Sect1 2
 
Solution 4
Solution 4Solution 4
Solution 4
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解く数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解く
 
Cryptocurrency Jeopardy!
Cryptocurrency Jeopardy!Cryptocurrency Jeopardy!
Cryptocurrency Jeopardy!
 
Slides September 16
Slides September 16Slides September 16
Slides September 16
 
Bitcoin Script
Bitcoin ScriptBitcoin Script
Bitcoin Script
 
Tut 1
Tut 1Tut 1
Tut 1
 
Taller 2. 4264. (2)
Taller 2. 4264. (2)Taller 2. 4264. (2)
Taller 2. 4264. (2)
 
Machine learning 2016: deep networks and Monte Carlo Tree Search
Machine learning 2016: deep networks and Monte Carlo Tree SearchMachine learning 2016: deep networks and Monte Carlo Tree Search
Machine learning 2016: deep networks and Monte Carlo Tree Search
 
Sect1 5
Sect1 5Sect1 5
Sect1 5
 
C7 7.4
C7 7.4C7 7.4
C7 7.4
 
Problem Of The Week Solution
Problem Of The Week SolutionProblem Of The Week Solution
Problem Of The Week Solution
 
12 X1 T07 01 V And A In Terms Of X
12 X1 T07 01 V And A In Terms Of X12 X1 T07 01 V And A In Terms Of X
12 X1 T07 01 V And A In Terms Of X
 
present_2_new
present_2_newpresent_2_new
present_2_new
 

Similaire à LCA Education Miniconference Bender

Gems of GameplayKit. UA Mobile 2017.
Gems of GameplayKit. UA Mobile 2017.Gems of GameplayKit. UA Mobile 2017.
Gems of GameplayKit. UA Mobile 2017.UA Mobile
 
Computational Linguistics week 5
Computational Linguistics  week 5Computational Linguistics  week 5
Computational Linguistics week 5Mark Chang
 
ScalaDays 2014 - Reactive Scala 3D Game Engine
ScalaDays 2014 - Reactive Scala 3D Game Engine ScalaDays 2014 - Reactive Scala 3D Game Engine
ScalaDays 2014 - Reactive Scala 3D Game Engine Aleksandar Prokopec
 
Adventures In Data Compilation
Adventures In Data CompilationAdventures In Data Compilation
Adventures In Data CompilationNaughty Dog
 
Introduction to Neural Networks and Deep Learning from Scratch
Introduction to Neural Networks and Deep Learning from ScratchIntroduction to Neural Networks and Deep Learning from Scratch
Introduction to Neural Networks and Deep Learning from ScratchAhmed BESBES
 
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1cideni
 
Trigonometry
TrigonometryTrigonometry
TrigonometryMurali BL
 
Trigonometry and its basic rules and regulation
Trigonometry and its basic rules and regulationTrigonometry and its basic rules and regulation
Trigonometry and its basic rules and regulationKartikey Rohila
 
Open GL 04 linealgos
Open GL 04 linealgosOpen GL 04 linealgos
Open GL 04 linealgosRoziq Bahtiar
 
2c. motion in 2 and 3 dimensions
2c. motion in 2 and 3 dimensions2c. motion in 2 and 3 dimensions
2c. motion in 2 and 3 dimensionsdukies_2000
 
Calculus Review for semester 1 at University
Calculus Review for semester 1 at UniversityCalculus Review for semester 1 at University
Calculus Review for semester 1 at Universitynetaf56543
 
Zhejiang University of TechnologyMATH 011 Calculus IMid.docx
Zhejiang University of TechnologyMATH 011 Calculus IMid.docxZhejiang University of TechnologyMATH 011 Calculus IMid.docx
Zhejiang University of TechnologyMATH 011 Calculus IMid.docxlynnalix61619
 

Similaire à LCA Education Miniconference Bender (20)

Linear equation 2 2
Linear equation 2 2Linear equation 2 2
Linear equation 2 2
 
Gems of GameplayKit. UA Mobile 2017.
Gems of GameplayKit. UA Mobile 2017.Gems of GameplayKit. UA Mobile 2017.
Gems of GameplayKit. UA Mobile 2017.
 
Computational Linguistics week 5
Computational Linguistics  week 5Computational Linguistics  week 5
Computational Linguistics week 5
 
ScalaDays 2014 - Reactive Scala 3D Game Engine
ScalaDays 2014 - Reactive Scala 3D Game Engine ScalaDays 2014 - Reactive Scala 3D Game Engine
ScalaDays 2014 - Reactive Scala 3D Game Engine
 
Adventures In Data Compilation
Adventures In Data CompilationAdventures In Data Compilation
Adventures In Data Compilation
 
Pascal’s Triangle
Pascal’s TrianglePascal’s Triangle
Pascal’s Triangle
 
Introduction to Neural Networks and Deep Learning from Scratch
Introduction to Neural Networks and Deep Learning from ScratchIntroduction to Neural Networks and Deep Learning from Scratch
Introduction to Neural Networks and Deep Learning from Scratch
 
Ch4
Ch4Ch4
Ch4
 
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
 
Graph functions
Graph functionsGraph functions
Graph functions
 
lect.no.3.pptx
lect.no.3.pptxlect.no.3.pptx
lect.no.3.pptx
 
Trigonometry
TrigonometryTrigonometry
Trigonometry
 
Trigonometry and its basic rules and regulation
Trigonometry and its basic rules and regulationTrigonometry and its basic rules and regulation
Trigonometry and its basic rules and regulation
 
Reactive Collections
Reactive CollectionsReactive Collections
Reactive Collections
 
Open GL 04 linealgos
Open GL 04 linealgosOpen GL 04 linealgos
Open GL 04 linealgos
 
2c-170330041052.pdf
2c-170330041052.pdf2c-170330041052.pdf
2c-170330041052.pdf
 
2c. motion in 2 and 3 dimensions
2c. motion in 2 and 3 dimensions2c. motion in 2 and 3 dimensions
2c. motion in 2 and 3 dimensions
 
Calculus Review for semester 1 at University
Calculus Review for semester 1 at UniversityCalculus Review for semester 1 at University
Calculus Review for semester 1 at University
 
Zhejiang University of TechnologyMATH 011 Calculus IMid.docx
Zhejiang University of TechnologyMATH 011 Calculus IMid.docxZhejiang University of TechnologyMATH 011 Calculus IMid.docx
Zhejiang University of TechnologyMATH 011 Calculus IMid.docx
 
Numpy発表資料
Numpy発表資料Numpy発表資料
Numpy発表資料
 

Plus de Tabitha Parker / Roder

Plus de Tabitha Parker / Roder (16)

Moodle and the Living Curriculum
Moodle and the Living CurriculumMoodle and the Living Curriculum
Moodle and the Living Curriculum
 
A community approach to staff development in eLearning - Moodle research conf...
A community approach to staff development in eLearning - Moodle research conf...A community approach to staff development in eLearning - Moodle research conf...
A community approach to staff development in eLearning - Moodle research conf...
 
Moodle at Unitec iMoot 2011
Moodle at Unitec iMoot 2011Moodle at Unitec iMoot 2011
Moodle at Unitec iMoot 2011
 
Moodle on olpc XS iMoot 2011
Moodle on olpc XS iMoot 2011Moodle on olpc XS iMoot 2011
Moodle on olpc XS iMoot 2011
 
Glossaries and databases_iMoot_2011
Glossaries and databases_iMoot_2011Glossaries and databases_iMoot_2011
Glossaries and databases_iMoot_2011
 
Ascilite 2010 Roder and Roder
Ascilite 2010 Roder and RoderAscilite 2010 Roder and Roder
Ascilite 2010 Roder and Roder
 
Moodle on the olpc School Server
Moodle on the olpc School ServerMoodle on the olpc School Server
Moodle on the olpc School Server
 
Glossaries and databases sharefest 2010
Glossaries and databases sharefest 2010Glossaries and databases sharefest 2010
Glossaries and databases sharefest 2010
 
Moodle Glossaries and databases
Moodle Glossaries and databases Moodle Glossaries and databases
Moodle Glossaries and databases
 
Moodle at Unitec
Moodle at UnitecMoodle at Unitec
Moodle at Unitec
 
Teaching software engineering using FOSS
Teaching software engineering using FOSSTeaching software engineering using FOSS
Teaching software engineering using FOSS
 
Art education and open source
Art education and open sourceArt education and open source
Art education and open source
 
Structuring a multi-day training course
Structuring a multi-day training courseStructuring a multi-day training course
Structuring a multi-day training course
 
Moodle Presentation LCA2010
Moodle Presentation LCA2010Moodle Presentation LCA2010
Moodle Presentation LCA2010
 
Presentation skills Workbook
Presentation skills WorkbookPresentation skills Workbook
Presentation skills Workbook
 
Glossaries and Databases
Glossaries and DatabasesGlossaries and Databases
Glossaries and Databases
 

Dernier

CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapitolTechU
 
Over the counter (OTC)- Sale, rational use.pptx
Over the counter (OTC)- Sale, rational use.pptxOver the counter (OTC)- Sale, rational use.pptx
Over the counter (OTC)- Sale, rational use.pptxraviapr7
 
10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdf10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdfJayanti Pande
 
How to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using CodeHow to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using CodeCeline George
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...Nguyen Thanh Tu Collection
 
Riddhi Kevadiya. WILLIAM SHAKESPEARE....
Riddhi Kevadiya. WILLIAM SHAKESPEARE....Riddhi Kevadiya. WILLIAM SHAKESPEARE....
Riddhi Kevadiya. WILLIAM SHAKESPEARE....Riddhi Kevadiya
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxAditiChauhan701637
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...raviapr7
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17Celine George
 
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxSlides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxCapitolTechU
 
Department of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdfDepartment of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdfMohonDas
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 
KARNAADA.pptx made by - saransh dwivedi ( SD ) - SHALAKYA TANTRA - ENT - 4...
KARNAADA.pptx  made by -  saransh dwivedi ( SD ) -  SHALAKYA TANTRA - ENT - 4...KARNAADA.pptx  made by -  saransh dwivedi ( SD ) -  SHALAKYA TANTRA - ENT - 4...
KARNAADA.pptx made by - saransh dwivedi ( SD ) - SHALAKYA TANTRA - ENT - 4...M56BOOKSTORE PRODUCT/SERVICE
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsEugene Lysak
 
What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?TechSoup
 
3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptx3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptxmary850239
 

Dernier (20)

CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptx
 
Over the counter (OTC)- Sale, rational use.pptx
Over the counter (OTC)- Sale, rational use.pptxOver the counter (OTC)- Sale, rational use.pptx
Over the counter (OTC)- Sale, rational use.pptx
 
10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdf10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdf
 
How to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using CodeHow to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using Code
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
 
Riddhi Kevadiya. WILLIAM SHAKESPEARE....
Riddhi Kevadiya. WILLIAM SHAKESPEARE....Riddhi Kevadiya. WILLIAM SHAKESPEARE....
Riddhi Kevadiya. WILLIAM SHAKESPEARE....
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptx
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17
 
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxSlides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
 
Department of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdfDepartment of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdf
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 
Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
KARNAADA.pptx made by - saransh dwivedi ( SD ) - SHALAKYA TANTRA - ENT - 4...
KARNAADA.pptx  made by -  saransh dwivedi ( SD ) -  SHALAKYA TANTRA - ENT - 4...KARNAADA.pptx  made by -  saransh dwivedi ( SD ) -  SHALAKYA TANTRA - ENT - 4...
KARNAADA.pptx made by - saransh dwivedi ( SD ) - SHALAKYA TANTRA - ENT - 4...
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George Wells
 
Prelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quizPrelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quiz
 
What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?
 
3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptx3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptx
 

LCA Education Miniconference Bender

  • 1. A member project of the Software Freedom Conservancy 20/01/10 LCA Wellington Walter Bender
  • 2. Part I: 1. What is Sugar? 2. Why should you care? 3. What can you do? 20/01/10 LCA Wellington Walter Bender
  • 3. 1. Sugar is the core component of a worldwide effort to provide every child with an opportunity for a quality education. 20/01/10 LCA Wellington Walter Bender
  • 4. 2. Sugar is a critical-thinking tool in the context of open- ended exploration and discovery, going beyond the use of the computer as a tool of instruction. 20/01/10 LCA Wellington Walter Bender
  • 5. 3.1 Try Sugar 20/01/10 LCA Wellington Walter Bender
  • 6. 20/01/10 LCA Wellington Walter Bender
  • 7. 3.2 Join our community http://sugarlabs.org 20/01/10 LCA Wellington Walter Bender
  • 8. 3.3 Contribute to Sugar 20/01/10 LCA Wellington Walter Bender
  • 9. Part II: The Anatomy of a Sugar Activity 20/01/10 LCA Wellington Walter Bender
  • 10. The “number” game 20/01/10 LCA Wellington Walter Bender
  • 11. View Source 20/01/10 LCA Wellington Walter Bender
  • 12. What are all these files? card.py – defines an individual card gencards.py – svg image generator for cards sprites.py – draws images on the screen deck.py – defines a deck of cards grid.py – defines a playing surface game.py – game logic VisualMatchActivity.py – Sugar UI (toolbars, journal, sharing) 20/01/10 LCA Wellington Walter Bender
  • 13. What is in the files? card.py:class Card: deck.py:class Deck: game.py:class Game: game.py:class Combination: grid.py:class Grid: sprites.py:class Sprites: sprites.py:class Sprite: VisualMatchActivity.py:class VisualMatchActivity(activity.Activity): VisualMatchActivity.py:class ChatTube(ExportedGObject): 20/01/10 LCA Wellington Walter Bender
  • 14. deck.py def __init__(self, sprites, card_type) def shuffle(self): def deal_next_card(self): def cards_remaining(self): 20/01/10 LCA Wellington Walter Bender
  • 15. Let's add Mayan to the Number Game. Source: http://en.wikipedia.org/wiki/File:Maya.svg 20/01/10 LCA Wellington Walter Bender
  • 16. Some Python, an icon, ... def number_mayan(n, stroke): svg_string += svg_circle(x1,y10s,3,stroke,stroke,2) x = 42.5 svg_string += svg_circle(x2,y10s,3,stroke,stroke,2) x1,x2,xc,x3,x4 = x+5,x+15,x+20,x+25,x+35 svg_string += svg_circle(x3,y10s,3,stroke,stroke,2) y = 60 svg_string += svg_circle(x4,y10s,3,stroke,stroke,2) y1s,y5s,y10s,y20s = y,y-10,y-20,y-40 elif n == 15: if n == 5: svg_string = svg_bar(x,y1s,stroke) svg_string = svg_bar(x,y1s,stroke) svg_string += svg_bar(x,y5s,stroke) elif n == 7: svg_string += svg_bar(x,y10s,stroke) svg_string = svg_bar(x,y1s,stroke) elif n == 21: svg_string += svg_circle(x2,y5s,3,stroke,stroke,2) svg_string = svg_circle(xc,y1s,3,stroke,stroke,2) svg_string += svg_circle(x3,y5s,3,stroke,stroke,2) svg_string += svg_circle(xc,y20s,3,stroke,stroke,2) elif n == 22: elif n == 10: svg_string = svg_circle(x2,y1s,3,stroke,stroke,2) svg_string = svg_bar(x,y1s,stroke) svg_string += svg_circle(x3,y1s,3,stroke,stroke,2) svg_string += svg_bar(x,y5s,stroke) svg_string += svg_circle(xc,y20s,3,stroke,stroke,2) elif n == 11: elif n == 33: svg_string = svg_bar(x,y1s,stroke) svg_string = svg_bar(x,y1s,stroke) svg_string += svg_bar(x,y5s,stroke) svg_string += svg_bar(x,y5s,stroke) svg_string += svg_circle(x+20,y10s,3,stroke,stroke,2) svg_string += svg_circle(xc,y10s,3,stroke,stroke,2) elif n == 14: svg_string += svg_circle(xc,y20s,3,stroke,stroke,2) svg_string = svg_bar(x,y1s,stroke) return svg_string svg_string += svg_bar(x,y5s,stroke) 20/01/10 LCA Wellington Walter Bender
  • 17. et voila! 20/01/10 LCA Wellington Walter Bender
  • 18. walter@sugarlabs.org 20/01/10 LCA Wellington Walter Bender