Go to file
Wango Fett 0961150554 Pip installable! 2017-10-26 17:05:49 +00:00
asciifarm Pip installable! 2017-10-26 17:05:49 +00:00
docs changed messages from json objects to json lists. Also did some cleanup of worldgen 2017-10-25 11:08:16 +02:00
.gitignore Pip installable! 2017-10-26 17:05:49 +00:00
MANIFEST.in Pip installable! 2017-10-26 17:05:49 +00:00
Pipfile Pip installable! 2017-10-26 17:05:49 +00:00
README.md started colour support and better panels 2017-10-25 15:50:24 +02:00
licence.md initial commit 2017-10-15 23:30:31 +02:00
screenshot.png changed name to AsciiFarm and updated description 2017-10-23 16:55:16 +02:00
setup.py Pip installable! 2017-10-26 17:05:49 +00:00

README.md

AsciiFarm

Formerly: Rooms

This is a multiplayer ascii farming/fighting game.

screenshot

Working Features

  • Multiplayer
  • Walking around
  • Switching between rooms
  • Persistent inventory
  • Fighting
  • NPC's
  • Farming
  • Building

Installation/starting instructions

Requires python3, tested to work on at least python 3.5.2 in linux

Because of the use of NCURSES, it probably won't work on windows (will be fixed later)

Not tested on mac. If anyone could test this for me this would be much appreciated.

Run hostrooms.py from the same directory to start the server.

Run asciifarm or playgame.py to start the client

Playing instructions

Use the arrow keys or wasd to move around. Use 'e' to add an item from the ground into your inventory. Use 'q' to drop the top item in your inventory. Use 'E' to use/interact with the top item in your inventory. Use 'f' interact with something in the same square as you. Use 'F' to attack an enemy in the same square as you. Use WASD to attack enemies in adjacent squares.

Vision/ideas

The idea is to make 3 different kind of areas:

  • private areas, where players can build their own house/farm
    • these areas will be the only one where players can build
    • other players can only enter with permission of the owner
    • maybe some group areas too? (that can be bought with in-game currency)
  • public areas, where players can interact with each other and npcs
    • towns, where players can trade
    • static dungeons, where monsters spawn
    • whatever levels someone feels like making
    • similar to the world of most mmorpgs
  • procedurally generated dungeons, where players can explore and fight for loot
    • like roguelikes
    • if the player dies they can not return to the same dungeon
    • group dungeons would be great too

TODO first

  • better code documentation
  • testing
  • colours
  • nondeterminism in combat and grow times
  • only plant seeds in soil
  • make farming more work
  • follow player when room larger than terminal
  • equipment
  • autofight/autoretaliate?
  • display target enemy health
  • write converter to convert tiled map files to readable files
  • better reaction on player death
  • room unloading when there are no players
  • better interaction selection
  • messages in the client
  • better interface
  • runtime-created rooms
  • multicharacter sprites in client
  • in-game chat
  • support websockets
  • windows comptibility (libtcod/tdl instead of ncurses?)
  • world persistence

DONE

  • fullwidth characters as sprites
  • load world from files
  • more content (rooms, objects etc)
  • multiple socket types (regular unix, abstract unix, inet), selectable as command line arguments
  • configurable graphics
  • configurable keybindings
  • make items usable
  • farming
  • loot
  • more efficient target detection for monsters
  • more efficient drawing/communication by only updating changed squares
  • growing plants
  • monster/object spawners
  • healing
  • make health persistent
  • make server robust to invalid messages
  • attack cooldown
  • add enemies
  • factions
  • add combat
  • improve inventory: probably store it in Player instead of Playerent
  • better interaction system
  • more code reusability in gameobjects
  • avoid long files