Author Topic: Hole (Win, Linux)  (Read 8209 times)

rantonels

  • Newcomer
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Hole (Win, Linux)
« on: July 31, 2013, 01:35:10 PM »
This is a small private project that I originally planned to keep between my circle of friends, but many people strongly suggested that I make it public

Hole is a simple and friendly ASCII or graphical roguelike (like) that can run in a terminal window (with curses) or a standalone window (with pygame)



Some features:
  • 26 "dumber" (they're way smarter now) basic enemy types and a handful of special enemies
  • 50 levels, procedurally generated, with various different algorithms, and including lava pools
  • basic character customization
  • a simple plot that doesn't interfere much with gameplay, and is slowly revealed in terms of clues
  • a stringent time limit in the form of water rapidly filling the dungeon floor by floor
  • equipped items are rapidly lost in battle and must be replaced quickly
  • easy magic system, with an item (Magic Handbook) to learn a new spell
  • some neutral mobs (many features still in development)
  • advanced Markov chain name generator
  • a torch you have to fuel by burning items
  • A* pathfinding[\li]
Update: now also tested on Windows!

The game can be run in:

Graphical/Standalone Mode: Available on both Linux and Windows
Terminal Mode: Only available in Linux

Requirements:
  • A terminal emulator
  • Python (works on 2.* and 3.3)
  • the Python Curses library OR
  • Pygame
nothing of this is strictly necessary, there is an .exe with everything bundled.


if you're on Linux, you probably already have everything you need.

In any case, the playersguide.txt includes instruction for the installation of all needed components.

Download:

Stable release:
0.5 : https://github.com/rantonels/hole/archive/v0.5.zip

Latest (unstable) version:

Note that the .exe file is always updated to the stable version. Only the python source is updated in the git repository.

WINDOWS

You can simply run the hole.exe file, but it's usually not up-to-date with the latest changes.

If you want the latest version, it's the "hole" file, which is really a python script. Install Python 2.7 (or 3.3 if you're feeling frisky) and the Pygame module, then run hole through the python interpreter.

LINUX

Just run the (executable) "hole" program by command line. If you need any help, have a look at playersguide.txt (it's mostly up to date.)

Oh, and there's bits of code by other people scattered all over the place. Some are given credit in comments, others aren't, none are acknowledged outside of the source. I know it's super duper mean, but I really did not have time and will do that as soon as I can (want.)
« Last Edit: August 25, 2013, 09:59:40 PM by rantonels »

getter77

  • Protector of the Temple
  • Global Moderator
  • Rogueliker
  • *****
  • Posts: 4957
  • Karma: +4/-1
    • View Profile
Re: Hole
« Reply #1 on: July 31, 2013, 05:46:10 PM »
Looks cool---definitely keep at it!   8)
Brian Emre Jeffears
Aspiring Designer/Programmer/Composer
In Training

rantonels

  • Newcomer
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Hole (Win, Linux)
« Reply #2 on: August 02, 2013, 11:30:27 AM »
A little update: made the game work on Windows. I was completely convinced that curses was cross-platform, for some reason. Now it is able to switch between pygame and curses to work on both oses. The windows version still needs the user to install python and pygame; i'll work on a py2exe version, but the py2exe website seems down.

Another small update: You now have a simple .exe file to run with nothing else needed. Managed to get py2exe working.
« Last Edit: August 02, 2013, 05:54:00 PM by rantonels »

benmakesgames

  • Newcomer
  • Posts: 12
  • Karma: +0/-0
    • View Profile
    • The Ruins of
Re: Hole (Win, Linux)
« Reply #3 on: August 22, 2013, 03:53:34 PM »
where can I find the windows .exe? it does not appear to be part of the git repo (I tried master.zip anyway, but yeah: not there!)

rantonels

  • Newcomer
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Hole (Win, Linux)
« Reply #4 on: August 24, 2013, 12:23:40 PM »
where can I find the windows .exe? it does not appear to be part of the git repo (I tried master.zip anyway, but yeah: not there!)

I have no idea where it went. It was pretty old anyway. I'll recompile it today with the newest changes.

Now the standalone version has some graphical tiles, but many things are still represented as text and text colour occasionally doesn't work. Apart from this nuisances, the game is still playable on Windows.

I should work on setting up releases.

EDIT: Done. It's there, it seems to work. Download the release here: https://github.com/rantonels/hole/releases/tag/v0.5 (it says it's just the source code, but it's actually source + .exe)
« Last Edit: August 24, 2013, 01:23:35 PM by rantonels »