fogman / nakamoto-station (public) (License: MIT) (since 2020-05-02) (hash sha1)
python pyglet game engine influenced by infiniminer and forked from work by git hub / fogleman et al
List of commits:
Subject Hash Author Date (UTC)
Syntax highlighting added ✨ a0846148b1372c0587434ead33e25d4adbc453bb Rubens Mariuzzo 2016-07-27 20:01:06
added link to my other minecraft clone d02cd72d1ec2ee133b3fec6ac1710e22bea59365 Michael Fogleman 2013-11-25 00:09:08
Make adding blocks work on OSX. eeaaba3d3a1a89989421439a71d04e0da81d8359 Jessica McKellar 2013-04-28 18:58:12
Document collision detection. a76ca15fc20e703fa2fcb3e82ede0206795be47b Jessica McKellar 2013-04-28 18:25:30
Pull out ticks per second into a constant. 6ebbad38939c1bdcf0b84a93edd890d22f2cbd6c Jessica McKellar 2013-04-28 03:54:05
Turn magic movement numbers into constants and compute jump speed instead of hard-coding it. c2f602899bf21061d80f273d3bf3d566bc9aa287 Jessica McKellar 2013-04-27 23:10:54
Document motion and line of sight calculations. e6cc7efe40a591ed79b98684313832ef1cce6d86 Jessica McKellar 2013-04-27 21:32:44
Remove GL_FOG_DENSITY, which is unused when using the GL_LINEAR fog mode. 8737ad9039f0d0dd5cd62978dbfaf305ac85f6a1 Jessica McKellar 2013-04-27 15:26:54
Document setup work. ae4c32109353a26fdfa81e61fd804d1aeb2d35e6 Jessica McKellar 2013-04-17 01:46:32
use deque 87d3b48097470362f01519a525531e8781478007 Michael Fogleman 2013-04-06 23:53:31
remove init_block() method f0686c6c06ea0198bb212d40deb06e1dee26446f jminardi 2013-04-05 06:55:21
change kwargs to be more self consistent 9adeeb887151560a9e3663c1e03bd1ebf210b6ae jminardi 2013-04-05 06:47:07
removed unused code 1f9a8f7745560f170bd38f9ccdfd20828a34561c jminardi 2013-04-05 06:22:31
add more documentation f2e7549fef6e3b0f5875711d47b376643eebd176 jminardi 2013-04-05 06:05:57
more docstrings 0fd908f1cb77ba7408b9a4df0561c3e98284ce7c jminardi 2013-04-03 17:48:03
Fix jump df11777b8ad85ffeafe3c5c4fbb671367023832d Valentin Lorentz 2013-04-03 16:33:11
remove TextureGroup definition 059b80ac39ea2ea1ef691fd793e494e3b4d59f7a jminardi 2013-04-03 06:33:18
pep8 and add doc strings 07d069e38c6827b9671c59240fe0861fd96e5635 jminardi 2013-04-03 06:18:13
Update README.md 92723e77dce56e75c51c29690ef0aaf206f852a8 Michael Fogleman 2013-04-02 14:00:26
another README link fix ... 56a0e28849d098a0d6c39dc88e60400190f715ca richvel 2013-04-02 13:49:49
Commit a0846148b1372c0587434ead33e25d4adbc453bb - Syntax highlighting added ✨
Author: Rubens Mariuzzo
Author date (UTC): 2016-07-27 20:01
Committer name: GitHub
Committer date (UTC): 2016-07-27 20:01
Parent(s): d02cd72d1ec2ee133b3fec6ac1710e22bea59365
Signing key:
Tree: bd875b6fc58c43664e2f01911e48c5e9b2877328
File Lines added Lines deleted
README.md 23 12
File README.md changed (mode: 100644) (index 564d407..9c2113d)
... ... and see the results quickly.
21 21 I think it would be great to turn the project into more of a library / API... a Python package that you import and then I think it would be great to turn the project into more of a library / API... a Python package that you import and then
22 22 use / configure to setup a world and run it. Something along these lines... use / configure to setup a world and run it. Something along these lines...
23 23
24 import mc
25
26 world = mc.World(...)
27 world.set_block(x, y, z, mc.DIRT)
28 mc.run(world)
24
25 ```python
26 import mc
27
28 world = mc.World(...)
29 world.set_block(x, y, z, mc.DIRT)
30 mc.run(world)
31 ```
29 32
30 33 The API could contain functionality for the following: The API could contain functionality for the following:
31 34
 
... ... The API could contain functionality for the following:
34 37
35 38 ## How to Run ## How to Run
36 39
37 pip install pyglet
38 git clone https://github.com/fogleman/Minecraft.git
39 cd Minecraft
40 python main.py
40 ```shell
41 pip install pyglet
42 git clone https://github.com/fogleman/Minecraft.git
43 cd Minecraft
44 python main.py
45 ```
41 46
42 47 ### Mac ### Mac
43 48
44 49 On Mac OS X, you may have an issue with running Pyglet in 64-bit mode. Try running Python in 32-bit mode first: On Mac OS X, you may have an issue with running Pyglet in 64-bit mode. Try running Python in 32-bit mode first:
45 50
46 arch -i386 python main.py
51 ```shell
52 arch -i386 python main.py
53 ```
47 54
48 55 If that doesn't work, set Python to run in 32-bit mode by default: If that doesn't work, set Python to run in 32-bit mode by default:
49 56
50 defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
57 ```shell
58 defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
59 ```
51 60
52 61 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. 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.
53 62
54 63 Or try Pyglet 1.2 alpha, which supports 64-bit mode: Or try Pyglet 1.2 alpha, which supports 64-bit mode:
55 64
56 pip install https://pyglet.googlecode.com/files/pyglet-1.2alpha1.tar.gz
65 ```shell
66 pip install https://pyglet.googlecode.com/files/pyglet-1.2alpha1.tar.gz
67 ```
57 68
58 69 ### If you don't have pip or git ### If you don't have pip or git
59 70
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/fogman/nakamoto-station

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/fogman/nakamoto-station

Clone this repository using git:
git clone git://git.rocketgit.com/user/fogman/nakamoto-station

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main