All Projects → swatteau → Sokoban Rs

swatteau / Sokoban Rs

Licence: apache-2.0
An implementation of Sokoban in Rust

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Sokoban Rs

Dunai
Classic and Arrowized Functional Reactive Programming, Reactive Programming, and Stream programming, all via Monadic Stream Functions
Stars: ✭ 115 (-4.17%)
Mutual labels:  game
Hanabi Live
A web server that allows people to play Hanab, a cooperative card game of logic and reasoning.
Stars: ✭ 116 (-3.33%)
Mutual labels:  game
Betterspades
BetterSpades, an Ace of Spades client targeted at low end systems (GL/ES 1.1). Runs on your grandmother's rig!
Stars: ✭ 112 (-6.67%)
Mutual labels:  game
Lba2remake
A Little Big Adventure 2 / Twinsen's Odyssey reimplementation in JavaScript / Three.js / React
Stars: ✭ 116 (-3.33%)
Mutual labels:  game
Game Ddz
♦️ 使用Hyperf框架开发斗地主游戏
Stars: ✭ 116 (-3.33%)
Mutual labels:  game
Mininim
The Advanced Prince of Persia Engine (a childhood dream)
Stars: ✭ 117 (-2.5%)
Mutual labels:  game
Openmmo
OpenMMO - Groundwork
Stars: ✭ 115 (-4.17%)
Mutual labels:  game
Issues
Report issues and discuss improvements / feature requests around TETR.IO
Stars: ✭ 119 (-0.83%)
Mutual labels:  game
Flutters
A game powered by Flutter and Flame
Stars: ✭ 117 (-2.5%)
Mutual labels:  game
Gdk For Unity Fps Starter Project
SpatialOS GDK for Unity FPS Starter Project
Stars: ✭ 119 (-0.83%)
Mutual labels:  game
Scala Game Library
Scala library for cross-platform 2D game development
Stars: ✭ 116 (-3.33%)
Mutual labels:  game
Pycraft
A Minecraft-inspired game for the terminal
Stars: ✭ 116 (-3.33%)
Mutual labels:  game
Ugame
Android自定义View高仿抖音潜艇大挑战小游戏
Stars: ✭ 118 (-1.67%)
Mutual labels:  game
Cboe
Classic Blades of Exile
Stars: ✭ 115 (-4.17%)
Mutual labels:  game
Mir2x
open source MMORPG game
Stars: ✭ 118 (-1.67%)
Mutual labels:  game
Sleeping Beauty
Sleeping Beauty: a game created for the 7-day Roguelike 2014 challenge. Coffeebreak length.
Stars: ✭ 115 (-4.17%)
Mutual labels:  game
Searchstone
🃏 Hearthstone's cards search engine built with algolia instantsearch.
Stars: ✭ 117 (-2.5%)
Mutual labels:  game
Gamedev Resources
🎮 🎲 A wonderful list of Game Development resources.
Stars: ✭ 2,054 (+1611.67%)
Mutual labels:  game
Ipokemon Server
iPokeMon Server.
Stars: ✭ 119 (-0.83%)
Mutual labels:  game
Aurora
Unified lighting effects across multiple brands and various games.
Stars: ✭ 1,673 (+1294.17%)
Mutual labels:  game

sokoban-rs

Build Status crates.io License

This is an implementation of Sokoban in the Rust Programming Language.

An example level: Screenshot

Build Instructions

Before building sokoban-rs, you will need to install the developpement libraries for SDL2, preferably with the package manager that comes with your operating system.

Example for Debian/Ubuntu:

sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev

Example for Mac OSX

brew install sdl2 sdl2_image sdl2_ttf

You might also like to read the README for these projects:

To build sokoban-rs, type the following commands:

git clone https://github.com/swatteau/sokoban-rs
cd sokoban-rs
cargo build --release

How to Play

This game is released without any level. You can download level collections from http://www.sourcecode.se/sokoban/levels in the SLC (XML) format. For a quick start, try this:

wget http://www.sourcecode.se/sokoban/download/microban.slc
cargo run --release -- microban.slc
  • Use the arrow keys to move the player.
  • Type R to retry the current level.
  • Type N to skip the current level.

Graphics Options

By default, the game will start in 1024x768 windowed mode. You can modify the width and height of the window as well as switch to fullscreen mode.

Example:

cargo run --release -- microban.slc --width=1920 --height=1080 --fullscreen

Credits

  • Planet Cute art by Daniel Cook (Lostgarden.com)
  • Ruji's Handwriting Font by Ruji C. (rujic.net)

License

Copyright 2015-2018 Sébastien Watteau

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].