Commit 40e6a3ad authored by Dave Griffiths's avatar Dave Griffiths
Browse files

setup scripts and doc rendering added

parent fb9e047c
# dBsCode Minecraft Cheat Sheet
![](https://github.com/nebogeo/dbscode/raw/master/doc/images/dbscode.png)
# Minecraft Programming Cheat Sheet
This is for the dBsCode taster sessions, learning programming via
procedural architecture in Minecraft using the Raspberry Pi. This is a
......@@ -65,7 +67,7 @@ with a radius of 10 blocks.
###cylinder(blocktype, position_point, radius, height):
example: `cylinder(STONE_BRICK,point(0,0,0),6,20)`
Builds a cylinder of stone brick in the center of the world radius 6, height 20.
Builds a cylinder of stone brick in the centre of the world radius 6, height 20.
![A cylinder image](https://github.com/nebogeo/dbscode/raw/master/doc/images/cylinder.png "How a cylinder works")
......
![](https://github.com/nebogeo/dbscode/raw/master/doc/images/dbscode.png)
# An infinite Minecraft house generator
![Houses](https://github.com/nebogeo/dbscode/raw/master/doc/images/infinite-house.jpg "Some houses")
......
![](https://github.com/nebogeo/dbscode/raw/master/doc/images/dbscode.png)
# Auto-Minecraft-Castle
![A castle](https://github.com/nebogeo/dbscode/raw/master/doc/images/auto-castle.jpg "A castle")
......
![](https://github.com/nebogeo/dbscode/raw/master/doc/images/dbscode.png)
# Huge skyscrapers and dungeons
![Skyscrapers](https://github.com/nebogeo/dbscode/raw/master/doc/images/skyscraper.jpg "Skyscrapers")
......@@ -181,5 +183,3 @@ structure change material as it gets built?
* Can you add lights and decoration to the dungeon?
* Can you find a way to combine both above and below ground structures?
![Logo](https://github.com/nebogeo/dbscode/raw/master/doc/images/dbscode.png "Skyscrapers")
pandoc -c github.css 01-house.md > rendered/01-house.html
pandoc -c github.css 02-auto-castle.md > rendered/02-auto-castle.html
pandoc -c github.css 03-skyscraper-tunnels.md > rendered/03-skyscraper-tunnels.html
pandoc -c github.css ../docs.md > rendered/docs.html
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
margin-top: 0 !important; }
body > *:last-child {
margin-bottom: 0 !important; }
a {
color: #4183C4; }
a.absent {
color: #cc0000; }
a.anchor {
display: block;
padding-left: 30px;
margin-left: -30px;
cursor: pointer;
position: absolute;
top: 0;
left: 0;
bottom: 0; }
h1, h2, h3, h4, h5, h6 {
margin: 20px 0 10px;
padding: 0;
font-weight: bold;
-webkit-font-smoothing: antialiased;
cursor: text;
position: relative; }
h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor {
background: url("../../images/modules/styleguide/para.png") no-repeat 10px center;
text-decoration: none; }
h1 tt, h1 code {
font-size: inherit; }
h2 tt, h2 code {
font-size: inherit; }
h3 tt, h3 code {
font-size: inherit; }
h4 tt, h4 code {
font-size: inherit; }
h5 tt, h5 code {
font-size: inherit; }
h6 tt, h6 code {
font-size: inherit; }
h1 {
font-size: 28px;
color: black; }
h2 {
font-size: 24px;
border-bottom: 1px solid #cccccc;
color: black; }
h3 {
font-size: 18px; }
h4 {
font-size: 16px; }
h5 {
font-size: 14px; }
h6 {
color: #777777;
font-size: 14px; }
p, blockquote, ul, ol, dl, li, table, pre {
margin: 15px 0; }
hr {
background: transparent url("../../images/modules/pulls/dirty-shade.png") repeat-x 0 0;
border: 0 none;
color: #cccccc;
height: 4px;
padding: 0; }
body > h2:first-child {
margin-top: 0;
padding-top: 0; }
body > h1:first-child {
margin-top: 0;
padding-top: 0; }
body > h1:first-child + h2 {
margin-top: 0;
padding-top: 0; }
body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child {
margin-top: 0;
padding-top: 0; }
a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
margin-top: 0;
padding-top: 0; }
h1 p, h2 p, h3 p, h4 p, h5 p, h6 p {
margin-top: 0; }
li p.first {
display: inline-block; }
ul, ol {
padding-left: 30px; }
ul :first-child, ol :first-child {
margin-top: 0; }
ul :last-child, ol :last-child {
margin-bottom: 0; }
dl {
padding: 0; }
dl dt {
font-size: 14px;
font-weight: bold;
font-style: italic;
padding: 0;
margin: 15px 0 5px; }
dl dt:first-child {
padding: 0; }
dl dt > :first-child {
margin-top: 0; }
dl dt > :last-child {
margin-bottom: 0; }
dl dd {
margin: 0 0 15px;
padding: 0 15px; }
dl dd > :first-child {
margin-top: 0; }
dl dd > :last-child {
margin-bottom: 0; }
blockquote {
border-left: 4px solid #dddddd;
padding: 0 15px;
color: #777777; }
blockquote > :first-child {
margin-top: 0; }
blockquote > :last-child {
margin-bottom: 0; }
table {
padding: 0; }
table tr {
border-top: 1px solid #cccccc;
background-color: white;
margin: 0;
padding: 0; }
table tr:nth-child(2n) {
background-color: #f8f8f8; }
table tr th {
font-weight: bold;
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px; }
table tr td {
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px; }
table tr th :first-child, table tr td :first-child {
margin-top: 0; }
table tr th :last-child, table tr td :last-child {
margin-bottom: 0; }
img {
max-width: 100%; }
span.frame {
display: block;
overflow: hidden; }
span.frame > span {
border: 1px solid #dddddd;
display: block;
float: left;
overflow: hidden;
margin: 13px 0 0;
padding: 7px;
width: auto; }
span.frame span img {
display: block;
float: left; }
span.frame span span {
clear: both;
color: #333333;
display: block;
padding: 5px 0 0; }
span.align-center {
display: block;
overflow: hidden;
clear: both; }
span.align-center > span {
display: block;
overflow: hidden;
margin: 13px auto 0;
text-align: center; }
span.align-center span img {
margin: 0 auto;
text-align: center; }
span.align-right {
display: block;
overflow: hidden;
clear: both; }
span.align-right > span {
display: block;
overflow: hidden;
margin: 13px 0 0;
text-align: right; }
span.align-right span img {
margin: 0;
text-align: right; }
span.float-left {
display: block;
margin-right: 13px;
overflow: hidden;
float: left; }
span.float-left span {
margin: 13px 0 0; }
span.float-right {
display: block;
margin-left: 13px;
overflow: hidden;
float: right; }
span.float-right > span {
display: block;
overflow: hidden;
margin: 13px auto 0;
text-align: right; }
code, tt {
margin: 0 2px;
padding: 0 5px;
white-space: nowrap;
border: 1px solid #eaeaea;
background-color: #f8f8f8;
border-radius: 3px; }
pre code {
margin: 0;
padding: 0;
white-space: pre;
border: none;
background: transparent; }
.highlight pre {
background-color: #f8f8f8;
border: 1px solid #cccccc;
font-size: 13px;
line-height: 19px;
overflow: auto;
padding: 6px 10px;
border-radius: 3px; }
pre {
background-color: #f8f8f8;
border: 1px solid #cccccc;
font-size: 13px;
line-height: 19px;
overflow: auto;
padding: 6px 10px;
border-radius: 3px; }
pre code, pre tt {
background-color: transparent;
border: none; }
#!/bin/bash
sudo apt-get -y install geany
cp geany.desktop ~/Desktop/geany.desktop
cp minecraft.desktop ~/Desktop/minecraft.desktop
cd ~
wget https://github.com/nebogeo/dbscode/archive/master.zip
unzip master.zip
cd ./dbscode-master
./install.sh
cd ~
wget https://s3.amazonaws.com/assets.minecraft.net/pi/minecraft-pi-0.1.1.tar.gz
tar -xvzf minecraft-pi-0.1.1.tar.gz
[Desktop Entry]
Type=Application
Version=1.0
Name=Geany
Name[ar]=Geany
Name[ast]=Geany
Name[be]=Geany
Name[bg]=Geany
Name[ca]=Geany
Name[cs]=Geany
Name[de]=Geany
Name[el]=Geany
Name[en_GB]=Geany
Name[es]=Geany
Name[fa]=Geany
Name[fi]=Geany
Name[fr]=Geany
Name[gl]=Geany
Name[hu]=Geany
Name[id]=Geany
Name[it]=Geany
Name[ja]=Geany
Name[kk]=Geany
Name[ko]=지니
Name[lb]=Geany
Name[lt]=Geany
Name[mn]=Жиени
Name[nl]=Geany
Name[nn]=Geany
Name[pl]=Geany
Name[pt]=Geany
Name[pt_BR]=Geany
Name[ro]=Geany
Name[ru]=Geany
Name[sk]=Geany
Name[sl]=Geany
Name[sv]=Geany
Name[tr]=Geany
Name[uk]=Geany
Name[vi]=Geany
Name[zh_CN]=Geany
Name[zh_TW]=Geany
GenericName=Integrated Development Environment
GenericName[ar]=بيئة التطوير المتكاملة
GenericName[ast]=Entornu Integráu de Desarrollu
GenericName[be]=Інтэграванае асяроддзе распрацоўкі
GenericName[bg]=Вградена среда за разработка
GenericName[ca]=Entorn Integrat de Desenvolupament
GenericName[cs]=Integrované vývojové prostředí
GenericName[de]=Integrierte Entwicklungsumgebung
GenericName[el]=Ενιαίο Περιβάλλον Ανάπτυξης
GenericName[en_GB]=Integrated Development Environment
GenericName[es]=Entorno de desarrollo integrado
GenericName[fa]=محیط توسعه ی نرم افزار
GenericName[fi]=Integroitu ohjelmointiympäristö
GenericName[fr]=Environnement de Développement Intégré
GenericName[gl]=Contorno integrado de desenvolvemento
GenericName[hu]=Integrált Fejlesztői Felület
GenericName[id]=Integrated Development Environment
GenericName[it]=Ambiente di sviluppo integrato
GenericName[ja]=統合開発環境
GenericName[kk]=Интеграцияланған өндіру ортасы
GenericName[ko]=통합 개발 환경
GenericName[lb]=Integréiert Entwécklungsumgebung
GenericName[lt]=Integruota kūrimo aplinka
GenericName[nl]=Geintegreerde Ontwikkel Omgeving
GenericName[nn]=Integrert utviklingsmiljø
GenericName[pl]=Zintegrowane środowisko programistyczne
GenericName[pt]=Ambiente Integrado para Desenvolvimento
GenericName[pt_BR]=Ambiente de Desenvolvimento Integrado
GenericName[ro]=Mediu de dezvoltare
GenericName[ru]=Интегрированная среда разработки
GenericName[sk]=Integrované vývojové prostredie
GenericName[sl]=Vdelano razvojno okolje
GenericName[sv]=Integrerad utvecklingsmiljö
GenericName[tr]=Tümleşik Geliştirme Ortamı
GenericName[uk]=Об'єднане середовище розробки
GenericName[vi]=Môi trường Phát triển Hợp nhất
GenericName[zh_CN]=集成开发环境
GenericName[zh_TW]=整合開發環境
Comment=A fast and lightweight IDE using GTK2
Comment[ar]=بيئة تطوير خفيفة وسريع تستخدم مكتبات GTK2
Comment[ast]=Un IDE rápidu y llixeru basáu en GTK2
Comment[be]=Хуткае і легкаважнае асяроддзе распрацоўкі, выкарыстоўваючае GTK2
Comment[ca]=Un IDE lleuger i veloç que usa GTK2
Comment[cs]=Rychlé a lehké IDE pro GTK2
Comment[de]=Eine kleine und schnelle Entwicklungsumgebung für GTK2
Comment[el]=Γρήγορο και ελαφρύ GTK2 IDE
Comment[en_GB]=A fast and lightweight IDE using GTK2
Comment[es]=Un IDE rápido y ligero para GTK2
Comment[fa]=A fast and lightweight IDE using GTK2
Comment[fi]=Nopea ja kevyt GTK2-pohjainen ohjelmointiympäristö
Comment[fr]=Un EDI rapide et léger utilisant GTK2
Comment[gl]=Un IDE rápido e lixeiro empregando GTK2
Comment[hu]=Gyors és pehelykönnyű IDE GTK2 alapokon
Comment[id]=Sebuah IDE yang cepat dan ringan menggunakan GTK2
Comment[it]=Un IDE veloce e leggero che usa GTK2
Comment[ja]=GTK2 を用いた高速で軽量な IDE
Comment[kk]=GTK2 негізіндегі жылдам әрі жеңіл өндіру ортасы
Comment[ko]=빠르고 가벼운 GTK2 기반의 통합개발환경
Comment[lb]=En klenge an schnelle IDE fir GTK2
Comment[lt]=Greita ir supaprastinta kūrimo aplinka naudojanti GTK2
Comment[nl]=Een snel en lichtgewicht, op GTK2 gebaseerde, IDE
Comment[nn]=Eit raskt og lett IDE som nyttar GTK2
Comment[pl]=Szybkie i lekkie środowisko programistyczne oparte na GTK2
Comment[pt]=Um IDE rápido e leve, escrito em GTK2
Comment[pt_BR]=Um IDE rápido e leve usando GTK2
Comment[ro]=Un IDE rapid folosind GTK2
Comment[ru]=Быстрая и легковесная среда разработки, использующая GTK2
Comment[sk]=Rýchle a ľahké IDE pre GTK2
Comment[sl]=Hitro in lahkotno vdelano razvojno okolje z uporabo GTK2
Comment[sv]=Ett snabbt och lättviktigt IDE som använder GTK2
Comment[tr]=GTK2 kullanan hızlı ve hafif bir IDE
Comment[uk]=Швидке та легке графічне середовище, що використовує GTK2
Comment[vi]=Một IDE nhanh và nhẹ nhàng dùng GTK2
Comment[zh_CN]=GTK2 编写的轻快的 IDE
Comment[zh_TW]=一個快速且輕巧的 GTK2 整合開發環境
Exec=geany %F
Icon=geany
Terminal=false
Categories=GTK;Development;IDE;
MimeType=text/plain;text/x-chdr;text/x-csrc;text/x-c++hdr;text/x-c++src;text/x-java;text/x-dsrc;text/x-pascal;text/x-perl;text/x-python;application/x-php;application/x-httpd-php3;application/x-httpd-php4;application/x-httpd-php5;application/xml;text/html;text/css;text/x-sql;text/x-diff;
StartupNotify=true
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Exec=/home/pi/mcpi/minecraft-pi
Icon=/home/pi/mcpi/data/images/gui/default_world.png
Terminal=false
Name=Minecraft
Comment= Programming system and content development tool
Categories=Application;Education;Development;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment