Coder Social home page Coder Social logo

olivierh59500 / teachcraft-challenges Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teachthenet/teachcraft-challenges

0.0 2.0 0.0 5.39 MB

Learn programming in python by giving yourself superpowers in a minecraft world!

License: Apache License 2.0

Python 100.00%

teachcraft-challenges's Introduction

TeachCraft

A series of lessons used to teach middle school and high school kids the fundamentals of programming!

Using Python, each of the lessons will teach the kids new concepts, going through while loops, if statements, for loops, algorithms, function calls, and the like.

The entire process is collaborative - students are able to see each other's progress as they are all in the same multiplayer server together. Indeed, one of the later lessons constructs a magical system the students can use to battle each other, invoking spells they prepared in code!

All that is needed to get started is downloading the code in this repo and installing java on your system (full instructions in the setup guide).

I have a server up and running with the python api open - all the lessons default to pointing to my server's IP. If you'd like privacy, or if my server is down due to being DOS'ed (easily achievable through it's open python api), you may want to setup your own server. If you note my server is down, feel free to open an issue here to inform me to restart it.

My Minecraft server is located at

199.96.85.3:25570

Lessons & Setup

Initial Setup: Get minecraft running, get connected to the server.

Lesson 1: Teleport your character to a point you define in code.

Lesson 2: Make a path of something (flowers, lava, fire) follow behind you while you walk.

Lesson 3: Give your character the ability to walk on water (by turning water below your character into ice).

Lesson 4: Create a building

Lesson 5: Create a pyramid

Lesson 6: Use an algorithm to construct the pyramid by analyzing the pattern you discovered in lesson 5!

Lesson 7: Create a magic system that listens to Minecraft chat, and executes your pre-defined spells!

Examples / Additional Follow-up

Import Image: Learn how to import an image into minecraft pixel art using Python Imaging Library.

Import 3D Model: Learn how to import a 3d model (such as those used with 3d printers) into Minecraft!

Build a mini-game: Lavatrap Link 2 Solution

Build An Moving Clock

Star Wars Animated

Auto-bridge Link 2

Want to host your own server / run a server locally?

Minecraft Docs

Notes

  • Player location from the python api will not match the same retrieved from the server. This is because raspberryjuice calculates it from the spawn point, while the server calculates it from 0,0,0. To fix, run this as an admin: setworldspawn 0 0 0

teachcraft-challenges's People

Contributors

iankronquist avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.