Gormlaks attack back
When gormlaks see the character, they step towards them and attack dealing 1 damage when adjacent. Characters have hitpoints now, displayed at the bottom of the game screen, and when the game is over they die.
This commit is contained in:
		
							parent
							
								
									ec39dc0a5b
								
							
						
					
					
						commit
						05da490185
					
				
					 11 changed files with 163 additions and 22 deletions
				
			
		|  | @ -3,7 +3,7 @@ | |||
| module Xanthous.Util.Graphics where | ||||
| -------------------------------------------------------------------------------- | ||||
| import Xanthous.Prelude | ||||
| import           Data.List                                ( unfoldr ) | ||||
| import Data.List (unfoldr) | ||||
| -------------------------------------------------------------------------------- | ||||
| 
 | ||||
| -- | Generate a circle centered at the given point and with the given radius | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue