Intro to
Programming
(with Python)

Fall 2018
course
site

Tue Nov 20

I've attached here one more blackjack example since I am still seeing some questions about how these trickier examples of objects work.

Questions about anything?

It may be worth going over another example of objects. Perhaps we could build a simple graphics "game" in class, with a board which has three places to put a piece which can move to where the user clicks. The objects would be something like (Board, Piece, Player.)

I've also put a graphical tic-tac-toe object thingy into the code/objects folder.

algorithms

Discuss some of the ideas in the algorithms chapter.

Check out hanoi.py in the code/algorithms folder.

https://cs.marlboro.college /cours /fall2018 /python /notes /algorithms
last modified Thu November 21 2024 11:43 am

attachments [paper clip]

  last modified size
TXT blackjack_again.py Thu Nov 21 2024 11:43 am 3.2K