Introduction to Object-Oriented Programming using a frog!

From Wednesday, October 20, 2021 12:00 AM
to Saturday, October 30, 2021 12:00 AM

1st EPAL of Drapetsona, Pireaus

Open online activity

koutoufaris@sch.gr

Greek

online

Object-Oriented Programming is a modern and intuitive way of coding.  One well-known language of programming of this kind is Java. Eventhough it started started some decades ago, it still remains active and popular among programmers. My program is an introductive example for the use of Java language, using Greenfoot environment, which is a modern development environment, made for teaching Java language to new programmers and especially to highschool students. 

This program is called 'Frog Eat Flies' and as its name implies, there is a user-driven frog into a grassland, hunting flies in the air at different speeds, all around.  The scope of the game is the frog to catch and eat all the flies.

This is an activity that aims to teach coding and computational thinking through the approach of visual programming, using gamification.

Also this activity aims to:

make students think creatively; using imagination and drawing skills, to help them learn basic programming concepts. Students can draw their own program visual elements (characters) and put them in the world of the game (program).

create tangible interfaces and to program Java through Greenfoot programming environment (IDE)

help students identify, analyse, implement and verify possible solutions

The code can be evolved later in various forms: More flies and another frog can be added, driven by another student, acting competitively: which frog will eat most of the flies. Also a counting frame can be added for each frog, counting the eaten flies. Or maybe another animal can be added as well ie. a lizard. There are many possibilities.

Finally, the program uses sounds, which are created and recorded by the students themselves, using the internal audio tool. 

A short video demo has been uploaded onto Google Docs enclosed with some screenshots and code listings:  

https://drive.google.com/drive/folders/1DmZXSXNK4GF7_ZfyiVeHhBBGfALuDNkh?usp=sharing

 

Waiting for your feedback.

 

Kind Regards,

Vasileios Koutoufaris,

Computer Science teacher

 

 

    Secondary school
    Playful coding activities

Nearby upcoming activities:

«Ας κωδικο-παίξουμε με τα Συναισθήματα»
Mon, Feb 10, 2025 2:18 PM
Θα έρθουμε σε επαφή με τα Συναισθήματα, παίζοντας διάφορα παιχνίδια με Κώδικα. Διαλέξτε το παιχνίδι που σας αρέσει και ξεκινήστε! A. “Kinetic pixel-art play”. Κινητικό Παιχνίδι με Pixel Αrt. Tα παιδιά παίζουν ένα κινητικό παιχνίδι ακολουθώντας τον κώδικα, με στόχο να δουν την εικόνα που θα εμφανιστεί. Β. “Alphabet decoding” play. Αποκωδικοποιούμε ακολουθώντας τον εικονο-κώδικα του Αλφαβήτου ώστε να δούμε τις λέξεις που κρύβονται. Γ. “Brake the code” play. Τα παιδιά καλούνται να σπάσουν τον κώδικα. Διαβάσουν τον κώδικα και ζωγραφίζουν αντίστοιχα στον πίνακα τα pixels ώστε να δουν το συναίσθημα που κρύβεται εκεί. Δ. “Help bee bot trace the Emotion”. Tα παιδιά πετούν το ζάρι και καλούνται να καθοδηγήσουν τη μελισσούλα στο αντίστοιχο συναίσθημα
eu#codeweek activity /Coding@Christmas competition
Thu, Dec 12, 2024 8:50 PM

Students completed secret coding pictures related to Christmas. More specifically, they followed the directions provided in numbers and arrows in order to complete the images of a Christmas tree and a red-nose reindeer. Students practiced using directions and coordinated and drew the coding pictures as part of an activity related to Coding@Christmas and participation in the coding Christmas competition.

Αισθάνσου, σκέψου, δράσε!
Fri, Oct 18, 2024 9:56 AM

Προγραμματισμός χρησιμοποιώντας τη ρομποτική με χρήση arduino.