Coder Social home page Coder Social logo

qurawl's Introduction

Qurawl

Proof of concept for a roguelike game. There is no real gameplay at the moment. It's all about the 4 basic actions of a grid/turn based game:

  • Movement
  • Picking up Items
  • Dropping down Items
  • Fight

Installation

Dependencies: Python2.6+ (tested with Python2.6, should work with Python 2.7 too)

Download and unpack this Repository. Enter

python start.py

at the top level directory.

Instructions

Implemented are 3 Players: Otto, Xenia and Yip, represented by uppercase letters O, X and Y respectively, to whom you can give commands. Yes, you have to type commands, no conventional key control here.

New: You can make typos, the input scanner tries to match your words.

Movement

The 4 directions are named up, left, right and down. Valid commands are for example (upper- or lowercase doesn't matter):

-> xenia up
-> otto down
-> yip right
etc.

You get it.

Items

Items are shown as non-alphabetical characters. Players and Monsters can pick up Health + , Armor ], Strength !, a silver key % and a gold key $ by moving over these locations. Items that hurt are Acid ~, Traps ^ and mines * (Ouch!).

Dropping

Pickable items can also dropped down with command syntax

<player name> drop <item name> <direction>

The item names are obviously (notice the underscore for double word items) :

  • health
  • armor
  • strength
  • silver_key
  • gold_key

Examples:

-> xenia drop armor down
-> otto drop gold_key left

A drop is successful if there is enough amount available.

Fight

Monsters are represented by lowercase letters. Attack them with

<player name> attack <direction>

Example:

-> yip attack right

At Last

Hit RETURN and observe the monsters! To quit type q.

Todo

  • Doors
  • Button-items for changing the level state
  • Maze-like levels
  • Pathfinding
  • Monster AI
  • Pygame port
  • and more...

License

See LICENSE.txt

qurawl's People

Stargazers

Horst JENS avatar

Watchers

Horst JENS avatar  avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.