/tinymmo-server

Tiny Python MMO Game Server

Primary LanguagePython

Tinymmo-python is a very small, 'Minorly mulitplayer online role playing game'. Developed so that I may better understan python network game programming.

This game uses works from https://opengameart.org/.

Server requires python 2.7

Features:

  • kill monsters
  • explore world
  • find treasure
  • cast spells
  • wield weapons
  • with your friends

Upcoming Features

  • Fight in groups
  • Complete quests

Setup using virtual environment:

git clone https://github.com/dslice25/tinymmo-server.git
cd tinymmo-server
virtualenv pyenv
source pyenv/bin/activate
pip install twisted pytmx

Quickstart:

After setting up in a virtual environment you should be able to run the server and client. By default server listens on localhost:10000.

source pyenv/bin/activate
python game_server.py

The World

TODO

Mechanics

Stats:

  • HIT - Chance to hit
  • DAM - Damage done on hit
  • ARM - Defensive statistic
  • SPI - Mental Prowess
  • HP - Health Points
  • MP - Magic Points

Classes:

Fighter:

  • Straight up Melee Fighter
  • Wear any armor
  • Wield any weapon except wands
  • +1 HIT
  • +1 HIT with swords and spears
  • +3 HP/level, +0 MP/level
  • No Spells

Mage:

  • Powerfull spell caster
  • Wear no armor
  • Wield staff or wand
  • +1 SPI
  • +1 HIT with wands and staves
  • +1 HP/level, +2 MP/level
  • Spells
  • 1 Fire Lion ([level * 1d4] damage to target at range)
  • 2 Ice Shield ([level * 2] ARM bonus to target for next minute)
  • 4 Snake Bite ([level * 1d4] damage plus [level/2] SPI penalty to target at range for next minute)
  • 6 Tornado ([level * 1d4] damage plus [level/2] DAM penalty to target for next minute)
  • 8 Earth Spikes ([level * 1d6] damage plus [level/2] ARM penalty to target at range for next minute)
  • 10 Ice Spikes ([level * 1d8] damage plus [level/2] HIT penalty to target at range for next minute)
  • 12 Lightning Claw ([level * 1d10] damage)

Cleric:

  • Healer, fighter
  • Wear cloth, leather or chain armor
  • Wield any weapon except wand
  • +1 ARM
  • +1 HIT with swords and spears
  • +2 HP/level, +1 MP/level
  • Spells
  • 2 Heal Light Wounds (restore [level * 1d4] HP to target)
  • 4 Blessings of strength (+1 to dam)
  • 6 Blessings of speed (+1 to hit)
  • 8 Blessings of resistence (+1 arm)
  • 10 Blessings of will (+1 to spi)
  • 12 Heal Severe Wounds (restore [level * 1d8] HP to target)

Ranger:

  • Ranged figher
  • Wear clother or leather armor
  • Wield any weapon except wand
  • +1 DAM
  • +3 HIT with bows
  • +2 HP/level
  • No Spells