Skip to content

zifan-wang/Minecraft-Python-Edition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Python Edition by ZifanWang, written in Python and Pyglet.

Based on https://github.com/fogleman/Minecraft.

How to run

pip install -r requirements.txt
python main.py

How to play

Moving

  • W: forward
  • A: left
  • S: back
  • D: right
  • R: turn on/off running mode
  • ESC/E:release the mouse
  • Space: jump
  • Tab: change mode (flying or walking)

Right click to place blocks,Left click to destroy blocks.

Left-clicking on TNT can make TNT explode.

Blocks

Press number keys to select them.

  1. grass
  2. dirt
  3. stone
  4. sand
  5. wood
  6. brick
  7. pumkey
  8. melon
  9. TNT

Images

Previous Versions

  • 1.0.0 Beta - First Beta release.

  • 1.1.0 Beta - Updated ore generation algorithm, added different rock and terrain areas, many updates.