From f688e3b624226ca843a7256987d9a76560a3ab9b Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Thu, 9 Mar 2023 09:44:30 -0800 Subject: Update project setup instructions. --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3724fe9..b84b824 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,22 @@ Spear is a simple 2.5D game engine I have been working on since I started learni The project's goal is to put what I learn into practise, to explore how far I can get with Haskell and if the results are decent enough, to build one or two game demos along the way. -Installation ------------- +Installation (Ubuntu) +--------------------- -Simply clone the repo and build with cabal: +Install dependencies, then build with cabal: ``` +$ sudo apt install libxxf86vm-dev libglfw3-dev $ git clone https://github.com/jeannekamikaze/Spear.git $ cd Spear -$ cabal install +$ cabal build +``` + +Run a demo: + +``` +$ cabal run pong ``` Features -- cgit v1.2.3