IBM / taxinomitis-docs

Project worksheets for Machine Learning for Kids
https://machinelearningforkids.co.uk/worksheets
Apache License 2.0
93 stars 73 forks source link

Worksheets for Noughts and Crosses in Python #13

Closed OwenG7 closed 5 years ago

OwenG7 commented 5 years ago

These are based off the original scratch version but include a link to a repository containing a version of Noughts and Crosses written in Python which can be seen here. The students would edit the winner function in order to finish the code with instructions which are included in the worksheet. It is set up to use Pygame for graphics and to automatically train a new model about every 10 games.

dalelane commented 5 years ago

Nice, thanks!

I'll have a proper review this evening. In the meantime, please can you prepare a pull request to add this to the site.

Have a look at https://github.com/IBM/taxinomitis/blob/master/public/components/worksheets/worksheets.controller.js#L271-L291 as an example of a worksheet available in both Scratch and Python flavours - that should give you the idea of what you need.

The Noughts and Crosses worksheet you need to update is defined here: https://github.com/IBM/taxinomitis/blob/master/public/components/worksheets/worksheets.controller.js#L494-L514