first round with stan
This commit is contained in:
parent
56590056f2
commit
01bdb2ac8f
3 changed files with 2 additions and 6 deletions
|
@ -35,13 +35,11 @@ import Linear
|
||||||
|
|
||||||
import Network.Socket
|
import Network.Socket
|
||||||
|
|
||||||
import System.Random (randomRIO)
|
|
||||||
|
|
||||||
-- internal imports
|
-- internal imports
|
||||||
|
|
||||||
import Library.Types
|
import Library.Types
|
||||||
|
|
||||||
import Server.Log (logPrintIO, logPrint)
|
import Server.Log (logPrintIO)
|
||||||
import Server.Types
|
import Server.Types
|
||||||
|
|
||||||
-- | Sends a specified message through given socket to the client
|
-- | Sends a specified message through given socket to the client
|
||||||
|
|
|
@ -41,7 +41,7 @@ generateArena arenaRows arenaColumns spawnerChance = do
|
||||||
: acc
|
: acc
|
||||||
else
|
else
|
||||||
pure acc
|
pure acc
|
||||||
_ -> pure acc
|
_otherTiles -> pure acc
|
||||||
)
|
)
|
||||||
[]
|
[]
|
||||||
((,) <$> [1 .. arenaRows] <*> map fromIntegral [1 .. arenaColumns])
|
((,) <$> [1 .. arenaRows] <*> map fromIntegral [1 .. arenaColumns])
|
||||||
|
|
|
@ -15,8 +15,6 @@ extra-doc-files: CHANGELOG.md
|
||||||
|
|
||||||
common warnings
|
common warnings
|
||||||
ghc-options: -Wall -threaded -rtsopts
|
ghc-options: -Wall -threaded -rtsopts
|
||||||
-fwrite-ide-info
|
|
||||||
-hiedir=.hie
|
|
||||||
|
|
||||||
library
|
library
|
||||||
import: warnings
|
import: warnings
|
||||||
|
|
Loading…
Reference in a new issue