|Number of watchers on Github||3608|
|Number of open issues||32|
|Average time to close an issue||about 1 month|
|Average time to merge a PR||2 days|
|Open pull requests||18+|
|Closed pull requests||18+|
|Last commit||almost 4 years ago|
|Repo Created||almost 9 years ago|
|Repo Last Updated||over 2 years ago|
|Organization / Author||fogleman|
|Do you use Minecraft? Leave a review!|
|View open issues (32)|
|View Minecraft activity|
|View on github|
|Book a Mock Interview With Me (Silicon Valley Engineering Leader, 100s of interviews conducted)|
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Simple Minecraft-inspired demo written in Python and Pyglet.
Like this project?
You might also like my other Minecraft clone written in C using modern OpenGL (GL shader language). It performs better, has better terrain generation and saves state to a sqlite database. See here:
I would like to see this project turn into an educational tool. Kids love Minecraft and Python is a great first language. This is a good opportunity to get children excited about programming.
The code should become well commented and more easily configurable. It should be easy to make some simple changes and see the results quickly.
I think it would be great to turn the project into more of a library / API... a Python package that you import and then use / configure to setup a world and run it. Something along these lines...
import mc world = mc.World(...) world.set_block(x, y, z, mc.DIRT) mc.run(world)
The API could contain functionality for the following:
pip install pyglet git clone https://github.com/fogleman/Minecraft.git cd Minecraft python main.py
On Mac OS X, you may have an issue with running Pyglet in 64-bit mode. Try running Python in 32-bit mode first:
arch -i386 python main.py
If that doesn't work, set Python to run in 32-bit mode by default:
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
This assumes you are using the OS X default Python. Works on Lion 10.7 with the default Python 2.7, and may work on other versions too. Please raise an issue if not.
Or try Pyglet 1.2 alpha, which supports 64-bit mode:
pip install https://pyglet.googlecode.com/files/pyglet-1.2alpha1.tar.gz
sudo easy_install pip(Mac or Linux) - or (Linux) find a package called something like 'python-pip' in your package manager.
brew install git.
See the wiki for this project to install Python, and other tips.