Mini-Tabara de zi IT

In perioada 27 iunie-1 iulie organizam o mini-tabara IT, orientata spre dezvoltarea creativitatii copiilor.
Programul se va desfasura intre orele 8 si 12, in cladirea Liceului N Balcescu.
In fiecare zi, in cele 4 ore, copiii vor participa la urmatoarele activitati:
- grafica 3d
- desenare pe tableta folosind aplicatia Autodesk Sketchbook
- roboti lego

Sinus

import mcpi.minecraft as minecraft
import mcpi.minecraftstuff as minecraftstuff
import mcpi.block as block
import math as math
mc = minecraft.Minecraft.create()
mcdrawing = minecraftstuff.MinecraftDrawing(mc)
precy=4
for z in range(1000,1100):
y=int(math.sin(z/4)*10)+14
mcdrawing.drawLine(1000,precy,z-1,1000, y,z,1)
precy=y
print y

import mcpi.minecraft as minecraft
import mcpi.minecraftstuff as minecraftstuff
import mcpi.block as block
import math as math
mc = minecraft.Minecraft.create()
mcdrawing = minecraftstuff.MinecraftDrawing(mc)
precz=500
for x in range(200,300):
z=int(math.sin(x/4)*10)+500
mcdrawing.drawLine(x-1,5,precz,x,5,z,1)
precz=z
print z

Mini-Tabara de zi Matematica-Informatica

In perioada 27 iunie-1 iulie organizam , impreuna cu d-nul prof. Teodor Poenaru, prima tabara de zi, pentru copiii care in acest an au urmat cursurile Lego Matematic si Minecraft Matematic.
Programul din fiecare zi se va desfasura intre orele 8 si 12, in cladirea Liceului N Balcescu.
In cele 4 ore copiii vor participa la urmatoarele activitati:
-lego matematic
-minecraft matematic
-programare minecraft
-roboti lego
In plus, ei vor invata sa deseneze pe tableta, folsoind aplicatia Autodesk Sketchbook.
Tariful este de 150 lei/copil.
Numarul de locuri este limitat, iar inscrierea se face trimitandu-mi un email pe adresadanimihut@gmail.com

Programe Jython

Se intra folosind Google Chrome sau Internet Explorer pe www.minecluj.com:8000

Apoi, sus la Host scrieti minecluj.com si faceti clic pe butonul “Connect”

Copiati programele de mai jos, pe rand, si …succes la modificari !

Serverul e activ (online) doar intre orele 14 si 19 !!!!!!!!!!

Program 1

from org.bukkit import Bukkit
from org.bukkit import Location
from org.bukkit.util import Vector
from org.bukkit.entity import EntityType
s = Bukkit.getServer()
players=Bukkit.getOnlinePlayers()
player=players[2]
w=player.getLocation().getWorld()
loc=player.getLocation()
for x in range(100, 120):

w.spawnEntity(loc, EntityType.RABBIT)

Program 2

from org.bukkit import Bukkit
from org.bukkit import Location
from org.bukkit.util import Vector
from org.bukkit.entity import EntityType
from org.bukkit.entity import Entity
s = Bukkit.getServer()
players=Bukkit.getOnlinePlayers()
player=players[0]
loc=player.getLocation()
w=loc.getWorld()
ent=w.getEntities()
nr=0
for e in ent:
print e.getLocation().distance(loc)
nr=nr+1
e.teleport(loc)

Program 3

from org.bukkit import Bukkit
from org.bukkit import Location
from org.bukkit.util import Vector
from org.bukkit.entity import EntityType
from org.bukkit.entity import Entity
s = Bukkit.getServer()
players=Bukkit.getOnlinePlayers()
player=players[0]
w=player.getLocation().getWorld()
ent=w.getEntities()
for e in ent:
if (e.getType()==EntityType.RABBIT):
e.remove()

 

Program 4

from org.bukkit import Bukkit
from org.bukkit import Location
from org.bukkit.util import Vector
from org.bukkit.entity import EntityType
from org.bukkit.entity import *
from time import *
from org.bukkit import Effect
s = Bukkit.getServer()
players=Bukkit.getOnlinePlayers()
player=players[0]
loc=player.getLocation()
w=player.getLocation().getWorld()
w.strikeLightning(loc)

Program 5

from org.bukkit import Bukkit
from org.bukkit import Location
from org.bukkit.util import Vector
from org.bukkit.entity import EntityType
from org.bukkit.entity import Snowball
from org.bukkit.entity import *
from org.bukkit.projectiles import *
from time import *
from org.bukkit import Effect
s = Bukkit.getServer()
players=Bukkit.getOnlinePlayers()
player=players[0]
loc=player.getLocation()
w=player.getLocation().getWorld()
player.launchProjectile(Snowball)

Sper sa reusiti sa corectati erorile (am lasat cateva pe acolo , sa nu va plictisiti)!

Functii

Fisier Python (trebuie pus in folderul sitas)

import mcpi.minecraft as minecraft
import mcpi.minecraftstuff as minecraftstuff
import mcpi.block as block
mc = minecraft.Minecraft.create()
mcdrawing = minecraftstuff.MinecraftDrawing(mc)
def tunel():

for x in range(75,105,2):

mc.setBlock(x,4,-543,70)
mc.setBlock(x,4,-544,55)
mc.setBlock(x,4,-542,55)
for x in range (75,105):
mc.setBlock(x,4,-545,123)
mc.setBlock(x,4,-541,123)
mc.setBlock(x,5,-545,123)
mc.setBlock(x,5,-541,123)
mc.setBlock(x,6,-542,123)
mc.setBlock(x,6,-544,123)
mc.setBlock(x,7,-543,123)

def tunel1(z):

for x in range(75,105,2):

mc.setBlock(x,4,z,70)
mc.setBlock(x,4,z-1,55)
mc.setBlock(x,4,z+1,55)
for x in range (75,105):
mc.setBlock(x,4,z-2,123)
mc.setBlock(x,4,z+2,123)
mc.setBlock(x,5,z-2,123)
mc.setBlock(x,5,z+2,123)
mc.setBlock(x,6,z+1,123)
mc.setBlock(x,6,z-1,123)
mc.setBlock(x,7,z,123)

tunel1(-520)

Cateva idei “copy-paste” de pe internet despre Minecraft in scoala

  • Kids build stuff together online. Most educational platforms and games seek to convey content, whether it is math, science, history, or another school subject. Minecraft is more like Legos or the Logo programming language. In Seymour Papert’s terms: children programming the computer rather than being programmed by it. Sure, you can put school content in a Minecraft world, but at its heart, Minecraft is about constructing and problem solving in a networked social world. The blocky indie vibe just contributes to the culture of DIY creativity in Minecraft and kids feel empowered to make it their own.
  • Endless ways to level up. Minecraft has something for everyone, regardless of age or interest. Kids as young as 4 and 5 can start with the pocket edition, gradually moving up to the PC version and connecting via multiplayer mode. Players can battle zombies, build a circuit system, or a beautiful palace. Or, they can admire the achievements of other players and builders in the Minecraft YouTube ecosystem. This means that there is always something to be inspired by, a mentor to seek out, and a way to level up or branch out.