We present preliminaries ideas and a prototype implementation of a collaborative environment based on gamification aimed at teaching coding and software life cycle principles such as design, development, and testing to beginners. As a guide example, we consider a two player game in which each player can dynamically modify its strategy via a simple rule-based language. In this setting the player console plays the role of usual coding tools. However, the sprite controlled by each player can be viewed as a sort of reactive module that interacts with the other players within the chosen game. The game starts with a default strategy. During a game play, players can then adapt their strategy by updating the rules that govern the behaviour of their sprites. The prototype is designed on top of the Python arcade library extended with a communication middleware built on top of asyncio and zeromq to run the environment on a set of remote machines.

PyWeCode: Towards a Collaborative Coding Framework based on the arcade Python Library

Delzanno G.;Guerrini G.;Mascardi V.;Traversaro D.
2020-01-01

Abstract

We present preliminaries ideas and a prototype implementation of a collaborative environment based on gamification aimed at teaching coding and software life cycle principles such as design, development, and testing to beginners. As a guide example, we consider a two player game in which each player can dynamically modify its strategy via a simple rule-based language. In this setting the player console plays the role of usual coding tools. However, the sprite controlled by each player can be viewed as a sort of reactive module that interacts with the other players within the chosen game. The game starts with a default strategy. During a game play, players can then adapt their strategy by updating the rules that govern the behaviour of their sprites. The prototype is designed on top of the Python arcade library extended with a communication middleware built on top of asyncio and zeromq to run the environment on a set of remote machines.
2020
9781450379502
File in questo prodotto:
File Dimensione Formato  
PyWeCode.pdf

accesso chiuso

Tipologia: Documento in versione editoriale
Dimensione 1.15 MB
Formato Adobe PDF
1.15 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11567/1029069
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? ND
social impact