Learn to Code in 30 Days: with MiniScript and Mini Micro
by Joe Strout
- Length: 501 pages
- Edition: 1
- Language: English
- Publisher: MiniScript Press
- Publication Date: 2021-09-24
- ISBN-10: B09H51R357
- Sales Rank: #0 (See Top 100 Books)
If you have ever wanted to learn how to program computers, this is the book for you. Starting at Day 1 you will be writing code using a clean, simple programming language that was designed to be especially easy to learn! With step-by-step examples and clear explanations, this book will guide you from absolute beginner to sophisticated programmer. The skills you learn in this book will provide a firm foundation for programming in any language.
You will learn to:
- Run programs on the web, on the command line, or in a virtual computer
- Make programs with text, graphics, and sound
- React to keyboard or game controller input
- Organize large programs using functions and classes
- Work with files and analyze data
- Create games and animations using sprites and tiles
- Convert algorithms from pseudocode into working code
- Develop your own algorithms from scratch
Introduction How to use this book Day 1: First Steps Day 2: Simple Math and Functions Doing Math String Operators Functions Built-In Numeric Functions Built-In String Functions Coding is an Open-Book Process Day 3: Variables and Comments Keeping values for later Assignment Is Not Math Leaving Notes For Yourself Writing Clear Code Day 4: Input and Val Getting input from the user Getting a number from the user Day 5: Comparisons and Looping Looping with while Looping with for The MiniScript Quick Reference Day 6: If and Break Doing Something Else Checking Multiple Possibilities Single-Line If Breaking a Loop Day 7: Three Small Games The Matchstick Game The Bit-Flip Game Pig Dice Game Troubleshooting Day 8: Command-Line MiniScript Command-Line MiniScript The Read-Eval-Print Loop Lists range and for revisited Day 9: Slice and Scripts Slicing Attack of the Mutant Lists Programs as Text Files Day 10: Maps Square Brackets vs. Dot Syntax Iterating Over Maps Map Intrinsic Functions Day 11: Defining Functions Breaking Down Big Problems Local and Global Variables Building a Program, Piece by Piece Day 12: Object-Oriented Programming Classes and Objects Writing Reusable Code Day 13: Working with Files Files, Folders, and Paths The file module Listing and Searching Files Creating, Reading, and Altering Files Using Your New Superpower Day 14: Sea Battle Game The Sea Battle Game Going Farther Day 15: Introducing Mini Micro Installing Mini Micro Basic Commands Running the Demos Getting Help Language vs. Environment Day 16: Key Module; MiniScript Files The key module Organizing Your Files More Key Methods More on Files Minidisk Files and Folders Day 17: Colors and Text Color in Mini Micro The Text Display ASCII Bear Exploring the Demos Day 18: Pixel Graphics Getting and Setting Pixels Drawing Lines, Rectangles, and Ellipses Drawing Polygons Drawing Text Working with Images Exploring the Demos Day 19: Display Layers, Mouse, and Import Reading the Mouse Importing prewritten code Exploring the Demos Day 20: Sounds & Music Playing Sound Files Synthesizing Sounds Making Music Exploring the Demos Day 21: Fireworks Demo Going Farther Day 22: Sprites Creating and Drawing Sprites Animating Sprites Controlling Draw Order Hit Detection Sprites in the Wild Day 23: Fun with Words Exploring the Words File Letter Frequency Analysis Starting the Word Game Random Letters Creating Letter Tiles Day 24: Word-Find Game Tile selection Clearing tiles Adding a score and history Wrapping up Taking it further Day 25: Tile Display TileDisplay Sprites vs. Tiles The TileDisplay class Basic Configuration Using Cells Overlap and Offset Exploring the Demos Day 26: Treasure Hunt Treasure Hunt Getting the Tile Set Starting the Program The GridPos Class Handling mouse clicks Time, Score, and Burying Stuff Game Over! Final Functions Main Loop Taking it Further Day 27: Algorithms, Step by Step Greatest Common Divisor Binary Search k-Means Clustering Next Steps Day 28: Snowflakes Evolution First Observations Anatomy of a Snowflake Branch Our Custom Branch Algorithm Introducing Variation Mutant Clones Main Program Day 29: Finding Help Official MiniScript Sites Third-Party Sites Other places to find MiniScript code The tip of the iceberg Day 30: Where to Go From Here Contributing to the Community Coding Challenges More Guidance Parting Advice
Donate to keep this site alive
To access the Link, solve the captcha.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.