Craft 是一个 C 语言编写的简单化 Minicraft 克隆,使用了现代 OpenGL(着色器)进行开发。python
若是你没有安装 [Cmake],下载安装它。你也能够使用 Homebrew 简化安装过程:git
brew install cmake
sudo apt-get install cmake libglew-dev xorg-dev sudo apt-get build-dep glfw
软件应该能在 Windows 上运行,但我如今没有 Windows 机器进行测试。若是你在 Windows 上测试过,告诉我结果,我会更新在说明(README)文件上。github
当你配置了依赖环境后,在命令行下运行:算法
git clone https://github.com/fogleman/Craft.git cd Craft cmake . make ./craft
你能够创建本身的服务器,也能够链接个人服务器。服务器是使用和本地机器的 SQLite 数据库同样的格式。sql
./craft 199.115.118.225 16018
pip install sqlalchemy python server.py [HOST [PORT]]
更多信息,可浏览项目主页:Craft数据库
翻译整理: Segmentfaultsegmentfault