Skip to content

Latest commit

 

History

History
97 lines (67 loc) · 5.42 KB

README.md

File metadata and controls

97 lines (67 loc) · 5.42 KB

Scorpion Dice Games Logo

Dice Games

license: CC BY-NC-SA 3.0

The goal of Dice Games is to provide a beginner friendly framework for approaching requirements and turning them into usable programs. You can think of this course as a dedication to the study of human mechanisms and their replacement by mechanical or electronic systems.

By using an imaginary (or real!) pair of dice, we are going to use this course to consider how you can take those approaches and concepts to turn them into code.

Made with ❤️ by Brett Wilcox

Questions to ask

Before starting this course, you should stop and consider the following:

  • Why am I starting this learning journey and what do I hope to gain out of it?
  • How will I be able to apply this knowledge in my future life, job, and projects?

My own answers

While it's important for you to understand your own reasons and goals you are looking to gain out of this experieence, it's just as important to understand what my goals as a teacher and transmitter of this information are.

  • Why am I starting this learning journey and what do I hope to gain out of it?
    • Creative Commons - My wish is to provide a public work of art that can be used by anyone and adapted as seen fit for the times using the CC BY-NC-SA 3.0 license.
    • Dice - Dice where the first thing I learned to think about in approaching problems. While there is apparent simplicity in their existance, it teaches one to think of them in entirely new ways.
    • Approach - I feel these methodologies will serve you as a student and lay groundwork for future teachers and students.
  • How will I be able to apply this knowledge in my future life, job, and projects?
    • Learning - I have a love for learning and I want to help others find that spark within themselves. It's important to understand that you will only gain what you put into these courses (including me as a teacher), it's completely up to you how you use them.
    • Understanding - One should never stop learning new things and gaining understanding of the world around us. We can only apply theory to things we have studied and understand. I myself am using these courses as an opprotunity to learn how to teach others in meaningful ways.
    • Relief When seeking answers in life and finding truth, it's like taking a drink of ice cold water in a hot desert. If I can help even one person, then this effort was woth it. Approach every problem in your life with 💜 and you can never go wrong!
    • Freedom - All information contained within these documents are my own thoughts, teachings, examples, and solutions. I want to share this with anyone that wants to better themselves. Knowlegde and health should not be behind a paywall and I create this work in dedication to helping all beings.

Before getting started

Dice Games

We are going to make a simple dice game using python.

Languages, Compilers, and files, oh my!

What is programming and why are we doing this?

Topics

  • Variables, assignments
  • Simple input
  • Main program
  • If-statement
  • Logical operators
  • Loops
  • Output formatting
  • Functions
  • Parameters, return values
  • Debugger
  • Lists
  • Strings
  • Dictionary
  • Values and references
  • Basics of program design
  • Programming style
  • Exceptions
  • File handling
  • Classes and objects

Thank you!

These courses would not be possible without the tremendous contributions by Charles Severance from University of Michigan.

License

license: CC BY-NC-SA 3.0

You are free:

  • To Share — to copy, distribute, display, and perform the work
  • To Remix — to make derivative works

Under the following conditions:

  • Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • Noncommercial. You may not use this work for commercial purposes.
  • Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
    • For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.
    • Any of the above conditions can be waived if you get permission from the copyright holder.
    • Nothing in this license impairs or restricts the author's moral rights.

Your fair use and other rights are in no way affected by the above.

To the extent possible under law, Brett Wilcox - brett@scorpion.io has waived all copyright and related or neighboring rights to Dice Games.

scorpion.io and the scorpion logo remain under ownership of Brett Wilcox and you may not use the logo in your own works. You may however use the "Dice Games" name and any images depicting dice.