All Projects → itsapi → Pycraft

itsapi / Pycraft

Licence: gpl-2.0
A Minecraft-inspired game for the terminal

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Pycraft

Unlucky
Java LibGDX Android 2D RPG Game
Stars: ✭ 111 (-4.31%)
Mutual labels:  game
Trw
The Royal Wedding – coffebreak roguelike with story, lighting, zombies and (sometimes) lutefisk!
Stars: ✭ 113 (-2.59%)
Mutual labels:  game
Dunai
Classic and Arrowized Functional Reactive Programming, Reactive Programming, and Stream programming, all via Monadic Stream Functions
Stars: ✭ 115 (-0.86%)
Mutual labels:  game
Caveexpress
CaveExpress is a classic 2D platformer with physics-based gameplay and dozens of levels. CavePacker is a Sokoban game.
Stars: ✭ 111 (-4.31%)
Mutual labels:  game
Boohu
Break Out Of Hareka's Underground, a roguelike game.
Stars: ✭ 112 (-3.45%)
Mutual labels:  game
Powerup Android
PowerUp is an educational choose-your-own-adventure game that utilizes a users uploaded curriculum to empower pre-adolescents to take charge of their reproductive health. This is the Android version of the game.
Stars: ✭ 114 (-1.72%)
Mutual labels:  game
Amongusbot
This is an Among Us Discord bot that auto mutes and unmutes players in certain situations, without anyone in the game needing to mute manually. This will make Among Us way more intense and doesn't break the immersion of the game having to mute all the time.
Stars: ✭ 110 (-5.17%)
Mutual labels:  game
Scala Game Library
Scala library for cross-platform 2D game development
Stars: ✭ 116 (+0%)
Mutual labels:  game
Owl Bt
owl-bt is editor for Behavior trees. It has been inspired by Unreal engine behavior trees in a way, that it supports special node items like decorators and services. This makes trees smaller and much more readable.
Stars: ✭ 112 (-3.45%)
Mutual labels:  game
Sleeping Beauty
Sleeping Beauty: a game created for the 7-day Roguelike 2014 challenge. Coffeebreak length.
Stars: ✭ 115 (-0.86%)
Mutual labels:  game
Goonstation
Repository for the Goonstation branch of SS13
Stars: ✭ 111 (-4.31%)
Mutual labels:  game
Jokenpo
Can a neural network predict your next move on a game of rock, paper and scissor?
Stars: ✭ 112 (-3.45%)
Mutual labels:  game
Hmiyc
Hunt Me If You Can is an UnrealEngine4 Battle Lan Game
Stars: ✭ 114 (-1.72%)
Mutual labels:  game
Tetris
👾 The original TETRIS game simulator
Stars: ✭ 111 (-4.31%)
Mutual labels:  game
Cboe
Classic Blades of Exile
Stars: ✭ 115 (-0.86%)
Mutual labels:  game
Buy All Steam Games
see how much does it cost to buy all steam games
Stars: ✭ 110 (-5.17%)
Mutual labels:  game
Mmo Server
Distributed Java game server, including login, gateway, game demo
Stars: ✭ 114 (-1.72%)
Mutual labels:  game
Awk Raycaster
Pseudo-3D shooter written completely in gawk using raycasting technique
Stars: ✭ 1,534 (+1222.41%)
Mutual labels:  game
Lba2remake
A Little Big Adventure 2 / Twinsen's Odyssey reimplementation in JavaScript / Three.js / React
Stars: ✭ 116 (+0%)
Mutual labels:  game
Openmmo
OpenMMO - Groundwork
Stars: ✭ 115 (-0.86%)
Mutual labels:  game

Run on Repl.it

Pycraft

A command line based 2D Minecraft, runs best on *nix with Python 3.3+. Built by grit96 and olls.

Usage: python3 main.py

Pycraft gameplay image

Controls

For the best control, set keyboard repeat time to around 200-300ms.

Menus:
   Move up                    - W or UP
   Move down                  - S or DOWN
   Select                     - SPACE or RETURN
   Pause                      - SPACE or RETURN
Blocks:
   Break/place block          - K
   Move cursor clockwise      - L
   Move cursor anti-clockwise - J
Inventory:
   Cycle inventory down       - O
   Cycle inventory up         - U
   Toggle crafting menu       - C
   Craft selected item        - I
Movement:
   Move left                  - A
   Move right                 - D
   Jump                       - W

Crafting

A number of items are only obtainable through the crafting system. Items that can be crafted with the materials in the player inventory will automatically show up in the crafting grid. Press C to toggle selection between inventory and crafting grid. Press I to craft the currently selected item.

Recipes:

  • 6 sticks:
    • 1 wood
  • 4 torches:
    • 1 stick
    • 1 coal
  • ladder:
    • 3 sticks
  • wooden pickaxe:
    • 2 sticks
    • 3 wood
  • stone pickaxe:
    • 2 sticks
    • 3 stone
  • iron pickaxe:
    • 2 sticks
    • 3 iron
  • diamond pickaxe:
    • 2 sticks
    • 3 diamonds

Tools:

Certain blocks require the right tool before being able to mine it. The tool has to be selected in inventory to be able to use it. Each tier of pickaxe can break more blocks than the previous tier.

  • fist (i.e. don't need a tool):
    • grass
    • tall grass
    • wood
    • leaves
    • torch
    • ladder
  • wooden pickaxe:
    • stone
  • stone pickaxe:
    • coal
    • iron
  • iron pickaxe:
    • redstone
    • gold
    • diamond
  • diamond pickaxe:
    • emerald

Using the C Renderer

The C renderer is likely to be faster than the Python renderer. To use the C renderer, it must be compiled first. To complile, run the command: python3 setup.py build in the root of the repository. Then run the game as normal and go into settings to switch the renderers.

Please report any bugs in the C renderer, or differences between the Python renderer and the C renderer in issues.

Contributing

We welcome pull requests or issues for bug reports/fixes or new feature ideas! Help us make the game more fun :D

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].