Main Idea
| A game will be created with students’ collaboration. The main goal of this scenario is students to understand the process of creating a GUI Game. |
| Creator | Rallis Spiros |
| Subject | Computer Science |
| Length | 2-3 hours |
| Pedagogical Approach | Technology assisted learning |
| Competences | problem identification algorithms abstraction decomposition |
| Grades | Age (10- 11), intermediate programming knowledge |
| Technologies | Online Python -Tkinter Interface |
| Evaluation | At the end of the session students will “run” the program and teachers will evaluate them. Also the goal is the students to evaluate each other. |
Learning Activities
First of all, we explain to students what is a User Friendly Interface. Afterwards, we try to draw the interface to the blackboard or to our computer by using the Paint with the help of our students. Moreover, we present them the basic tools of Tkinter (Python) and help them to start programming. Also we should help them to create a function that is necessary for using it with Buttons.
In general, students should understand how to use Random Function in order to get integer numbers every time the game begins. It’s equally important to find out what to do with the buttons every time they try to Guess the number (Each player has 3 attempts).
At the end of the session a discussion takes place in class.
1.Can we use the same code (with small differences) to create another game?
2.Is it possible to have a timer?
3.Can we improve the game if the player knows how far or close is their guessing number from the computer’s choice?
Worksheets
https://docs.google.com/document/d/1K7SJU2h-fGLLsBHqU1-D9n_7Xh0pWd71z-W-xWVNKTU/edit
