Skip to content

The classic Duck Simulator from "Head First Design Patterns" written in TypeScript

Notifications You must be signed in to change notification settings

kaidez/typescript-duck-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The classic Duck Simulator from "Head First Design Patterns" written in TypeScript

In order to get a better handle of TypeScript, I used it to recreate the classic "Duck Simulator" example in the Head First Design Patterns book. The book example utilizes the Strategy Pattern so that's what I'm doing.

The content in the Design Patterns in TypeScript repo link below already says how to apply TypeScript to the pattern but again, I'm doing this so I can get a better handle on TypeScript. And the best way to get a better handle on code is to actually write it.

Read the related blog post here.

Some links that helped me...

Some tools...

  • Visual Studio Code. You probably won't abandon your current IDE for this, but it's a GREAT tool for developing TypeScript...and learning it.

  • Typings, the TypeScript Definitions Manager. I only used it a little for this project, but I don't see it lasting long.

About

The classic Duck Simulator from "Head First Design Patterns" written in TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published