Inspired by the project.
This game is developed using python and pyglet just like the original project by fogleman. Now the game is multiplayer and new levels have been added.
For client-server scripting, I have used a self-modified version of PodSixNet.
git clone https://github.com/h4r5h-ja1n/Minecraft-Strike.git
cd Minecraft-Strike
pip install -r requirements.txt (PodSixNet default code will not, since I am using a slightly modified version of it you can refer this PR)
python server.py `#for starting the server`
python main_new.py `#for starting the client, the default ip and port are 127.0.0.1 and 31425`
git clone -b distro git@github.com:h4r5h-ja1n/Minecraft-Strike.git
python server.py
The client-side game is available in main_new
folder by the name main_new
.
In the distro branch, there is the compiled game with all the python libs required the game.
This compiled code only works on the LINUX not on WINDOWS and haven't been tested on the MAC
- W: forward
- S: back
- A: strafe left
- D: strafe right
- Mouse: look around
- Space: jump
- Tab: toggle flying mode
- Selecting type of block to create:
- 1: brick
- 2: grass
- 3: sand
- Mouse left-click: remove block
- Mouse right-click: create block
- ESC: release mouse, then close window