-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
South Bay CoderDojo Minecraft Sessions #3
Comments
Ok, whew! that's a lot of stuff! Way to go Joe. If there are any mentors that wish to learn what Joe is teaching, please contact me and I'll have some observer tickets set aside for the session. This way, we may be able to have more instructors trained to lead additional sessions at other venues. If you do the video recording, we need to post handouts as well. We're launching the new CoderdojoSV website with a past projects section. The section will pull in the GitHub repository session title and description. If handouts and video links are included in the repository, people will be able to access them from the website link. |
Hi Marcy, Unfortunately I couldn't attend yesterday's mentor meeting. Will it be possible to send out short meeting notes? Thank you, Jayashree On Jan 22, 2014, at 10:23 AM, marcyDel [email protected] wrote:
|
Even, I would like to attend as an observer. On Wed, Jan 22, 2014 at 11:35 AM, jayg4e [email protected] wrote:
|
I can likely be a mentor for the session, if that's ok. I know linux and java well (and a little minecraft), and plan on going through all this before the session. I'd also like my son to attend. Thanks, |
Hi Marcy, I can be a mentor if needed. I have some java programming experience. My son Brandon would like to attend this class as well. Thanks |
I posted initial draft of slides for the first "Learning to Code with Minecraft" session happening this Tuesday at 6pm in Campbell for all to review. Note: plugin code that will be covered in this session is all in https://github.com/joedean/bukkit-plugins. I will be filling in the empty slides with this code tomorrow. Again Schedule for the session will be as follows: |
Joe, Looks great! I had a lot of trouble with Eventbrite this round. I’m making personal calls to make sure. Due to the rom capacity. We won’t have any space for drop ins. Please make sure other On-site employees know this. Question: Might there be a spot to put parents, who would rather not be in the room, so we can accommodate more kids? Let me know as soon as you can. Marcy On Jan 27, 2014, at 12:44 AM, Joseph Dean [email protected] wrote:
|
Hi Joe, From past experience, it's really helpful for the kids if we have a print out of the commands and the codes they need to type so they don't have switch between the code editor and the pdf while typing. The slides look great but might not be printer friendly not sure if you want to upload a pdf with just the commands and codes so we can print it out. Thanks |
Great suggestion! Joe do you have time to do? It helps both mentors and participants. |
Hi Joe/Marcy, I am typing up the commands and sample codes and will upload the pdf after I am done. I will also print out a few copy to hand out tomorrow. |
I will print out copies of install instructions and bring along. |
Was just going through all the setup. Have all the attendees seen the pre-setup at the beginning of this thread? And, there may be some confusion, because on joe's site, he named it more sensibly then if they went out and downloaded the files from the sites he mentions. Everything will work fine, but you'll probably want to rename "craftbukkit-1.6.4-R2-0.jar" to "craftbukkit.jar", or else the script won't find it. Just a heads up, so that the mentors know why people have differently named files when checking their setup. |
I just committed the coderdojo_minecraft_handout.pdf and printed 20 copies for tomorrow. I will work from San Francisco tomorrow and probably won't be there until 7PM but my wife will drop my son off with the handouts by 6:00. Thanks |
@tomtran-tt . Looks like another bunch of info is available for print. I Assume Minecraft theme version is for projector, so we should make copies of "print friendly" version. We need 30 copies . @tomtran-tt do you have time to print all, or do you need me to do as well. Perhaps we each print 15? Let's coordinate. @joedean between Tom and I, we'll cover getting everyone slides. Marcy |
Hi, I'm installing the software for tonight. I have a MacBook Air running 10.6.8... So a couple of questions
link under Windows or Linux? The files have the same name, but I want to be sure. Thanks, Dawn From: linuxgeek [email protected] Was just going through all the setup. |
Awesome! Thankyou!
|
@cornof I think JDK1.6 should work. Here's the instructions for JDK1.7 MacOSX install: http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html. The .jar file is what you want. |
@linuxgeek I tested JAN 1.6 and it works fine. Just need to make sure Java and Java are same version. I will be checking en vs at 6pm. |
@linuxgeek I tested Java 1.6 and it works fine. Just need to make sure Java and Javac are same version. I will be checking en vs at 6pm. |
Thanks! I'll be there early as well. From: Joseph Dean [email protected] @linuxgeek I tested Java 1.6 and it works fine. Just need to make sure Java and Javac are same version. I will be checking en vs at 6pm. |
Hi Marcy/Joe, I printed out 20 copies of the coderdojo_minecraft_handout.pdf version for my wife to drop it off tomorrow, it should have most of the info, can you take a look and let me know if you still want me to print 15 copies of the friendly version. As mentioned I am working from SF today and most like won't make it there until 7PM though. -Tom |
@joedean Good point. will make sure & check that. |
@tomtran-tt No worries. I will get copies of printer friendly version and bring tonight. Marcy |
South Bay Coderdojo Minecraft Session 2
Anyone have thoughts, suggestions on this idea? Once the kids have developed more programming experience using Computer Craft then I would move them back toward making plugins etc. Also, if enough interest from the more advanced kids, I can do a different sessions focusing on continuing the plugin development. Hoping to get this all setup by end of this weekend... |
Wow, that's an extremely cool idea! Is the building a computer mod already completed, or is this something you'd have to make? My first impression is that this sounds very ambitious, but doable. For the linux/mac script, it might be worthwhile to add something to suggest java locations. For instance, echo "Your system is set to look for things in only certain places" Anyways, you get the idea. I could try to add some of this if you'd like. I can do this on linux/mac, but batch files are too cumbersome for me to try and do this. Looks good what you have now. Your minecraft idea made me think we could do a similar thing with the install, teaching as we go. |
Minecraft Session 2 OverviewTopic:Craft a Computer Description:Using the computer craft mod, we will be going through crafting a computer in Minecraft, teaching each of the basic components that make up a computer. I will also be demonstrating the real life computer components on either a raspberry pi or an old laptop. After we craft the computer we will navigate the command line to some pre-installed programs and run them. Then we will craft a turtle using the computer and learn how to program the turtle to automate mining. More advanced users can explore the Lua programming language and go through the code from existing programs. For intermediate and beginners this will be reviewed in more detail during future sessions. Prerequisites:
$ ./minecraft.sh check_env
C:\ minecraft.bat (Note: Run minecraft.bat from command prompt. Do not just double click the .bat file.) When the script finishes if will print out something like ---------------------------------------- Version 0.1 - Username 30/s08933/s90/20934/93es ---------------------------------------- Send this to event organizer so we know your environment is setup correctly. If you do not get this then there is a problem with your environment and you will need to fix the environment based on feedback provided by the script. More details and thoughts about this second sessionThis session will not be using craftbukkit and creating plugins like we did during the first session. This sessions focus will be on teaching the kids about computer hardware and how to craft a computer in Minecraft. It requires additional components to install and a new mod environment. The script does automatically install and configure for this new environment. So all kids will need to run the script even if they were configured last time. Although: If any of the kids went crazy and created there own craftbukkit plugin during the past month, I would love for them to do a show and tell on it... but we can play that by ear. What do you think... I'm kinda switching gears a bit from the last session. I plan to return to plugins, but once the kids get more experience. I'm bummed to switch off plugins, but i feel this is the right thing to do based on the last session. Maybe later in the year we'll return to the plugins, etc. I may also take a poll after this session and let majority vote which direction I should head.... Java coding with plugins or Lua programming with turtles... thoughts? |
Just ran your script, it looks like it crashed. Dawn MacBook-Air-2:minecraft modding dawn$ ./minecraft.sh check_env |
oops i see the problem... will fix that one up tonight. thanks! |
We also had a problem with the script. Computer craft seem to install 1.7.045 My son looked at the script and he thinks maybe that the script is looking Valerie On Thu, Feb 20, 2014 at 3:37 PM, Joseph Dean [email protected]:
|
Thanks for the feedback... The script actually ignores craftbukkit, sublime text, and javac because these technologies are not used in the next session. It installs forge with computer craft mod. It also assumes that minecraft 1.6.4 was run at least once on the machine. Unfortunately, it appears to only be working for Linux and not on Mac or Windows. I will fix it up tonight. This is the problem with updating a script at 3am... you break stuff :-) I'll let you know when i get the fix out... thanks. |
The script has been updated. Instead of maintaining a windows batch file and a shell script I've decided to make this one script packaged up in a jar. Note: I'm assuming they have run Minecraft on the machine and that Java is installed. Instructions
|
@marcyDel why is this issue closed? Also I put installation instructions on the webpage so you don't have to resend out an email with instructions.... although you should send out an email saying that the script is fixed up... thanks. |
Sorry Joe, I thought I was replying and canceling my reply. As a non-coder, I have made many gitHub noob errors. Yes, I will send out a reminder to check updates. I would assume this script is only getting participants ready for the computer craft session on Tuesday. Will there also be a script to prepare their systems for potential plug in session in the future? No rush on this, just curious. Marcy |
script is geared for Tuesday... Script can easily be altered to prepare for On Fri, Feb 21, 2014 at 9:42 AM, marcyDel [email protected] wrote:
|
I run the .jar script in admin mode or not, here's what comes up:
It goes through the wizard and installs forge 🔥
Then that happens 😦 Is this on your side? If it's an error on my side, couldn't it be a bit nicer about it? |
@iTweak0r yea working with troubles in windows 8.x right now... will have an updated version soon ... sorry about that. |
My transcript from trying v.1 and v.2 MacBook-Air-2:minecraft modding dawn$ java -jar coderdojo-0.1.1.jar From: Joseph Dean [email protected] @iTweak0r yea working with troubles in windows 8.x right now... will have an updated version soon ... sorry about that. |
@iTweak0r code is updated... now try. |
I passed! It didn't like the space in the pathname... MacBook-Air-2:minecraft_modding dawn$ java -jar coderdojo-0.1.2.jar Checking ComputerCraft... successVersion 0.1.2 - Warlock_5969 xitiz-zerus-bozah-doled-furip-fedyd-ciloz-daluc-duxaxFrom: Joseph Dean [email protected] @iTweak0r code is updated... now try. |
edit: It did not like the characters I used to symbolize actual key presses. Hopefully this looks better. I find the easiest way to launch this in windows is to have the user open up a command window, (ie Run->cmd). Then type "java[space]-jar[space]". Then find the jar file that you want to launch, and drag it into the command window. It will automagically put the full path in the command window with quotes around it. The quotes around it, negate the issue of spaces and other similar characters. @joedean It might be useful to keep the shell script to check java, and then launch the jar. In Windows, could use batch file to launch the command window with what to type. In the command window it would echo this: It will look something like this: Maybe overkill, but I thought I'd mention it. It sounds awkward the way I described it so that's not so great. ;) |
@joedean is the link the same for the updated windows 8 version? On Fri, Feb 21, 2014 at 3:28 PM, Joseph Dean [email protected]:
|
@valeriefreitas v1.2 has windows 8 updates... It includes color output to be "nicer". @linuxgeek Maybe I should just have the batch script launch the command prompt and run java automatically. Assuming there is a way to keep the command prompt up when script completes... I'll need to Google that. Although, I like your thought of having them type it in with instructions, it is nicer that the kids get used to command prompts and running java commands from a jar. When my kids really wanted to play Minecraft on my Linux box they were able to figure this out on there own and of course, had the help of Google... They just needed the incentive! :-) |
I think we've reached success on Windows 8! My son's transcript: Please be patient while I inspect your environment... Installing ComputerCraft: successVersion 0.1.2 - alexfreitas On Fri, Feb 21, 2014 at 8:04 PM, Joseph Dean [email protected]:
|
Slides for tomorrow nights session are pushed to repo |
When is the minecraft session? Tonight(tuesday) or tomorrow(wednesday) night? It doesn't show up on coderdojo calendar. I see the first minecraft session, and today's 6-week session, but I don't see the 2nd session of minecraft. Oscar |
@linuxgeek it's tonight at 6pm-8pm.... @cornof can you send another email to avoid confusion? Include link to setup script in email.... What is the kid count for tonight? Couple of my son's friends have bailed out last second.... thanks |
I'm at work today, won't be able to send the email out until I get home around 2pm dawn From: Joseph Dean [email protected] @linuxgeek it's tonight at 6pm-8pm.... |
So, the 6 week sessions AND the minecraft session are tonight?! You probably have enough mentors at minecraft, so I'll stay at int. scratch. I see a list of mentors for scratch intermediate (at 4 with me), but I don't see a list of mentors for minecraft. Sorry for figuring this out so late. I assumed we wouldn't be having multiple sessions tonight and at different locations. Oscar |
Minecraft Session 3 OverviewTopic:Introduction to ComputerCraft Turtle Programming with Lua Description:An introduction to the Lua programming language using Minecraft ComputerCraft mod. Planning to teach the basics of the Lua programming language and how to use this language to control turtles. The turtles can then be used to automate mining, crafting, farming, etc. More advanced users can create Lua programs and share them with everyone after Prerequisites:
---------------------------------------- Version 0.1.3 - Username 30/s08933/s90/20934/93es ---------------------------------------- Send this to event organizer so we know your environment is setup correctly. If you do not get this then there is a problem with your environment and you will need to fix the environment based on feedback provided by the script. More details and thoughts about this third sessionI plan to use the materials put together by @nuclearsandwich to introduce Lua. Mostly the awesome language intro page he put together. Then spend most of the time going through a couple of turtle programs together. The goal is to enable the kids to build turtle programs on their own throughout the next month before the fourth session. |
What is the date of this session? On Wed, Mar 12, 2014 at 7:14 AM, Joseph Dean [email protected]:
|
Got it. Thanks Joe! On Mar 12, 2014, at 7:14 AM, Joseph Dean [email protected] wrote:
|
This will be Tuesday, March 25th. We will be inviting the same pilot group from last time. |
@valeriefreitas FYI - All Campbell Minecraft sessions are planned for the last Tuesday of every month. We are also working toward doing scratch programming sessions for less experienced programmers the first Tuesday of every month starting in May. (Note: We have a potential special event for Saturday, April 5th. It's in discussion right now) This gives you an idea of when these sessions will be taking place in south bay. |
Thanks! Appreciate it! On Wed, Mar 12, 2014 at 8:47 AM, Joseph Dean [email protected]:
|
I'm pretty afk with school and whatnot lately but if you have any questions or comments or pull requests that I don't respond to within 48 hours email me directly [email protected] to get my attention. |
First session is planned to happen next week on the 28th of Jan.
Overview:
Session Title:
Learn to Program with Minecraft Plugins (1)
Description:
If you enjoy creating in Minecraft, but sometimes feel the built-in capabilities of the game are not enough and you want to do something more? Then this Coderdojo session is for you. Since, Minecraft is based on the Java programming language this session will introduce you to Java, so you can code your first Minecraft plugin. Unfortunately, programming in Java can feel hard and confusing. This session will try to avoid the complications of the language and focus on the basics to get a simple plugin working. We'll start with setting up your own CraftBukkit server and then code a simple plugin using Java.
For beginners, there is a lot to learn and limited time. Beware that this session could turn into multiple sessions depending on how far we get in an hour and half.
Session prerequisites:
Must have purchased Minecraft
Download and install latest Sublime Text editor: http://www.sublimetext.com.
Install Java programming language: http://www.oracle.com/technetwork/java/javase/downloads/index.html
And make sure the two commands work in a new shell. (Note: results may be a little different, but make sure it's version 1.7.x)
Download CraftBukkit: http://wiki.bukkit.org/Setting_up_a_server
Windows users must install BusyBox by downloading from ftp://ftp.tigress.co.uk/public/gpl/6.0.0/busybox/busybox.exe and create the following shell.bat file on Desktop.
;shell.bat used to start shell
C:\Windows\system32\cmd.exe /c sh.exe -l
(1) Note: Material based on the book "Learn to Program with Minecraft Plugins" by Andy Hunt
Basic schedule
(1) 6-6:30 - Env help, play, pizza arrives
(2) 6:30 - 7:00 - Install CraftBukkit and learn how to start server and connect into a server. If they get this easily have them connect to each others servers and have fun! Maybe teach them about finite state machines.
(3) 7:00 - 8:00 - Code simple plugin (begginers - hello world, intermediates - flying creepers, gurus - Cow Shooter or surprise us!)
(4) 8:00 - 8:30 - Q&A and/or show and tell
Note: not going to get to much into details of the code during this session. Will be breaking down coding details in future sessions. I'm working on getting handouts together with all the details so parents/mentors can help the kids that fall behind.
Also, would like to record this session so others can view it that can't make it. For those that missed this session and want to attend future sessions will know what they missed and can easily make up the information so they are not behind others that were able to attend. Does anyone have knowledge or ideas on best way to record / stream these sessions?
The text was updated successfully, but these errors were encountered: