Skip to main content

Pyrates: A Serious Game Designed to Support the Transition from Block-Based to Text-Based Programming

  • Conference paper
  • First Online:
Educating for a New Future: Making Sense of Technology-Enhanced Learning Adoption (EC-TEL 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13450))

Included in the following conference series:

Abstract

This paper presents a design-based research which focuses on the design and the evaluation of the Pyrates online application. This serious game aims to introduce Python programming language supporting the transition from block-based languages. The layout of Pyrates’ learning environment is inspired from beneficial features of block-based programming editors. In order to evaluate this design, the application has been tested in eight classrooms with French 10-th grade students (\(n=240\)). Self-generated activity traces have been collected (\(n=69,701\)) and supplemented by a qualitative online survey. The data analysis shows that some of the design choices conduct to the expected effects. The creation of a “programming memo” (synthesized documentation) allows the discovery of algorithmic notions while offering a reference support for the Python syntax. The ease of copy-paste from this memo limits keyboarding. The integration of a syntax analyzer designed for beginners gives students a high level of autonomy in handling errors. However, other choices have rather deleterious impacts. For instance, the creation of a control panel for program executions proves to be dedicated to a trial-and-error programming approach or to “notional bypassing” strategies.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Alvarez, J.: Du jeu vidéo au serious game: approches culturelle, pragmatique et formelle. Ph.D. thesis, Université de Toulouse (2007). https://hal.archives-ouvertes.fr/tel-01240683

  2. Andrews, E., Bau, D., Blanchard, J.: From droplet to lilypad: present and future of dual-modality environments. In: 2021 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC), pp. 1–2 (2021). https://doi.org/10.1109/vl/hcc51201.2021.9576355

  3. Armoni, M., Meerbaum-Salant, O., Ben-Ari, M.: From scratch to “real’’ programming. ACM Trans. Comput. Educ. 14(4), 1–15 (2015). https://doi.org/10.1145/2677087

    Article  Google Scholar 

  4. Bart, A., Tibau, J., Tilevich, E., Shaffer, C.A., Kafura, D.: BlockPy: an open access data-science environment for introductory programmers. Computer 50(05), 18–26 (2017). https://doi.org/10.1109/mc.2017.132

    Article  Google Scholar 

  5. Bau, D., Bau, D.A., Dawson, M., Pickens, C.S.: Pencil code: block code for a text world. In: Proceedings of the 14th International Conference on Interaction Design and Children, IDC 2015, pp. 445–448. Association for Computing Machinery, New York (2015). https://doi.org/10.1145/2771839.2771875

  6. Bau, D., Gray, J., Kelleher, C., Sheldon, J., Turbak, F.: Learnable programming: blocks and beyond. Commun. ACM 60(6), 72–80 (2017). https://doi.org/10.1145/3015455

    Article  Google Scholar 

  7. Branthôme, M.: Paper’s data visualisation notebook (2022). https://nbviewer.org/url/storage.py-rates.org/EC-TEL/data_visualisation.ipynb

  8. Brousseau, G.: Le contrat didactique: le milieu. Recherches en didactique des mathématiques 9(3), 309–336 (1990)

    Google Scholar 

  9. Brousseau, G.: Théorie des situations didactiques. La Pensée sauvage, Grenoble (1998)

    Google Scholar 

  10. Edublocks. https://app.edublocks.org/. Accessed 14 Apr 2022

  11. Edwards, S.H.: Using software testing to move students from trial-and-error to reflection-in-action. In: Proceedings of the 35th SIGCSE Technical Symposium on Computer Science Education, SIGCSE 2004, pp. 26–30. Association for Computing Machinery, New York (2004). https://doi.org/10.1145/971300.971312

  12. Kevan, J.M., Ryan, P.R.: Experience API: flexible, decentralized and activity-centric data collection. Technol. Knowl. Learn. 21(1), 143–149 (2015). https://doi.org/10.1007/s10758-015-9260-x

    Article  Google Scholar 

  13. Kohn, T.: Teaching python programming to novices: addressing misconceptions and creating a development environment. Ph.D. thesis, ETH Zurich, Zürich (2017). https://doi.org/10.3929/ethz-a-010871088

  14. Kölling, M., Brown, N.C.C., Altadmri, A.: Frame-based editing: easing the transition from blocks to text-based programming. In: Proceedings of the Workshop in Primary and Secondary Computing Education, WiPSCE 2015, pp. 29–38. Association for Computing Machinery, New York (2015). https://doi.org/10.1145/2818314.2818331

  15. Kyfonidis, C., Weill-Tessier, P., Brown, N.: Strype: frame-based editing tool for programming the micro: bit through python. In: The 16th Workshop in Primary and Secondary Computing Education, pp. 1–2. Association for Computing Machinery, New York (2021). https://doi.org/10.1145/3481312.3481324

  16. Lin, Y., Weintrop, D.: The landscape of block-based programming: characteristics of block-based environments and how they support the transition to text-based programming. J. Comput. Lang. 67, 1–18 (2021). https://doi.org/10.1016/j.cola.2021.101075

    Article  Google Scholar 

  17. Piaget, J.: Léquilibration des structures cognitives. Presse Universitaire de France, Paris (1975)

    Google Scholar 

  18. Price, T.W., Barnes, T.: Comparing textual and block interfaces in a novice programming environment. In: Proceedings of the Eleventh Annual International Conference on International Computing Education Research, ICER 2015, pp. 91–99. Association for Computing Machinery, New York (2015). https://doi.org/10.1145/2787622.2787712

  19. PYPL - popularity of programming language. https://pypl.github.io/PYPL.html. Accessed 14 Apr 2022

  20. Pyrates. https://py-rates.org. Accessed 14 Apr 2022

  21. Pyrates pedagogical guide. https://py-rates.org/guide/EN/. Accessed 14 Apr 2022

  22. Pyscripter github. https://github.com/pyscripter/pyscripter. Accessed 14 Apr 2022

  23. Robinson, W.: From scratch to patch: easing the blocks-text transition. In: Proceedings of the 11th Workshop in Primary and Secondary Computing Education, WiPSCE 2016, pp. 96–99. Association for Computing Machinery, New York (2016). https://doi.org/10.1145/2978249.2978265

  24. Weintrop, D.: Block-based programming in computer science education. Commun. ACM 62(8), 22–25 (2019). https://doi.org/10.1145/3341221

    Article  Google Scholar 

  25. Weintrop, D., Wilensky, U.: Comparing block-based and text-based programming in high school computer science classrooms. ACM Trans. Comput. Educ. 18(1), 1–25 (2017). https://doi.org/10.1145/3089799

    Article  Google Scholar 

  26. Weintrop, D., Wilensky, U.: Transitioning from introductory block-based and text-based environments to professional programming languages in high school computer science classrooms. Comput. Educ. 142, 1–17 (2019). https://doi.org/10.1016/j.compedu.2019.103646

    Article  Google Scholar 

Download references

Acknowledgements

This research was funded by Region Bretagne, Université de Bretagne Occidentale and IE-CARE ANR project. We thank students and teachers who participated in the game evaluation sessions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Matthieu Branthôme .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Branthôme, M. (2022). Pyrates: A Serious Game Designed to Support the Transition from Block-Based to Text-Based Programming. In: Hilliger, I., Muñoz-Merino, P.J., De Laet, T., Ortega-Arranz, A., Farrell, T. (eds) Educating for a New Future: Making Sense of Technology-Enhanced Learning Adoption. EC-TEL 2022. Lecture Notes in Computer Science, vol 13450. Springer, Cham. https://doi.org/10.1007/978-3-031-16290-9_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-16290-9_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-16289-3

  • Online ISBN: 978-3-031-16290-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics