249
Views
1
CrossRef citations to date
0
Altmetric
Symposium:Games in the Classroom

Teaching Nash equilibrium with Python

ORCID Icon
 

Abstract

The author describes an assignment in an undergraduate game theory course in which students work together in class to develop a computer algorithm to identify Nash equilibria. This assignment builds basic computer science skills while applying game theory knowledge to real-world situations. Students work as a team to delineate the steps and write a program to identify all of the pure-strategy Nash equilibria of the game. They then test this program by creating and solving their own game. This assignment represents an efficient way for undergraduate economics students to gain valuable computer science skills without assuming any pre-existing computer science knowledge, without having to take classes outside of the economics major, and without economics faculty having to restructure entire courses or curricula.

JEL CODES:

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.