Asciifarm/README.md

106 lines
3.2 KiB
Markdown
Raw Normal View History

2017-10-15 21:40:39 +00:00
# rooms
This is a multiplayer ascii game (or so far, only the framework for a game actually)
The goal now is to have players walk around in different rooms where they can interact with things.
A lot of functionality is actually working.
## 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 and Unix Domain Sockets, 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 `rooms` or `playgame.py` to start the client
## Playing instructions
Use the arrow keys or wasd to move around.
2017-10-23 12:54:38 +00:00
Use 'e' to add an item from the ground into your inventory.
Use 'q' to drop the top item in your inventory.
2017-10-23 12:54:38 +00:00
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.
2017-10-18 15:33:20 +00:00
## 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
2017-10-18 15:33:20 +00:00
## TODO first
- better code documentation
- testing
- 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
2017-10-20 22:32:41 +00:00
- better reaction on player death
- room unloading when there are no players
- better interaction selection
2017-10-18 15:33:20 +00:00
- multicharacter sprites in client
- in-game chat
- support websockets
- windows comptibility (libtcod/tdl instead of ncurses?)
- world persistence
## DONE
- 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
2017-10-20 22:32:41 +00:00
- monster/object spawners
- healing
- make health persistent
- make server robust to invalid messages
- attack cooldown
- add enemies
2017-10-19 21:41:31 +00:00
- factions
- add combat
- improve inventory: probably store it in Player instead of Playerent
- better interaction system
- more code reusability in gameobjects
- avoid long files