Commit Graph

522 Commits

Author SHA1 Message Date
Yohann D'ANELLO fb8d8f033b Popup border color is red 2020-11-27 17:52:26 +01:00
Yohann D'ANELLO b7f61d9485 Close popup if there is a message 2020-11-27 17:35:51 +01:00
Yohann D'ANELLO 5cdb12e8a8 Display a message on a popup 2020-11-27 17:32:26 +01:00
eichhornchen 4fdf08cab9 Added a currency : the hazel (for hazelnuts). The player and the merchants possess a certain quantity of hazel 2020-11-27 17:11:59 +01:00
eichhornchen 76bbee7e6d Added a merchant class and a talk_to method to interact with friendly entities 2020-11-27 16:56:22 +01:00
ynerant b35d666218 Merge branch 'copyright' into 'master'
Copyright

Closes #23

See merge request ynerant/squirrel-battle!28
2020-11-27 16:56:13 +01:00
Yohann D'ANELLO 461d176ce4 Build debian packages only on pipelines that run on the master branch 2020-11-27 16:54:47 +01:00
Yohann D'ANELLO f0488690b7 Forgot some author mentions in some files, closes #23 2020-11-27 16:53:16 +01:00
ynerant 3282ebaefa Merge branch 'copyright' into 'master'
Copyright

See merge request ynerant/squirrel-battle!27
2020-11-27 16:45:12 +01:00
Yohann D'ANELLO 0d3e33d960 Declare the license, we use GNU GPL 2020-11-27 16:33:17 +01:00
Yohann D'ANELLO 1782ffcffb Rename LICENSE to COPYING 2020-11-27 16:16:19 +01:00
ynerant 319d5b20eb Merge branch 'fix-game' into 'master'
Display got broken

See merge request ynerant/squirrel-battle!26
2020-11-27 14:03:25 +01:00
Yohann D'ANELLO 0c25dd4ffe Display got broken 2020-11-27 14:04:51 +01:00
ynerant 11e5ee5c24 Merge branch 'no-crash-on-render' into 'master'
No crash on render

Closes #20 et #21

See merge request ynerant/squirrel-battle!25
2020-11-26 22:37:05 +01:00
Yohann D'ANELLO 2690eb8760 Update FakePad to fix tests 2020-11-26 22:32:25 +01:00
Yohann D'ANELLO 0726a8db9e A print instruction remains. It was rendered on the screen. Awkward... 2020-11-26 22:29:10 +01:00
Yohann D'ANELLO 1e48bd16b3 Erase pads instead of clearing them, fixes #21 2020-11-26 22:20:14 +01:00
Yohann D'ANELLO 3e7dabc94e Wrap perfectly the map on the screen, bricks won't teleport randomly anymore 2020-11-26 21:59:48 +01:00
Yohann D'ANELLO f2f34bfbc6 Don't refresh pads with invalid coordinates. The window should be fully resizable, closes #20 2020-11-26 20:58:46 +01:00
Yohann D'ANELLO ca03caf3ba Don't render message on negative indexes 2020-11-26 20:35:10 +01:00
Yohann D'ANELLO f2318ed308 Truncate messages if they are too large 2020-11-26 20:04:54 +01:00
Yohann D'ANELLO 8b187ec2b3 Use custom function to render a string message onto a pad 2020-11-26 12:35:52 +01:00
nicomarg b6f5fe9364 Merge branch 'display-fixes' into 'master'
Display fixes see #15

Closes #15

See merge request ynerant/squirrel-battle!21
2020-11-20 18:27:50 +01:00
ynerant 23a2b4c0cf Merge branch 'beaver-is-a-tiger' into 'master'
Beaver is a tiger

See merge request ynerant/squirrel-battle!24
2020-11-20 18:16:56 +01:00
Nicolas Margulies b3df257103 Removed useless code 2020-11-20 18:12:30 +01:00
Nicolas Margulies 223c20e792 Linting 2020-11-20 18:09:39 +01:00
Nicolas Margulies ca57fae19d Reshaped the game layout using new lines and boxes 2020-11-20 18:07:09 +01:00
Nicolas Margulies 9ca6561bc3 Added a box element 2020-11-20 18:06:43 +01:00
Yohann D'ANELLO 700ba16186 Don't need to install the most recent version of the noto emojis since beaver is finally a tiger 2020-11-20 18:04:44 +01:00
ynerant 5fd599338f Merge branch 'fix-badges' into 'master'
Fix badges

See merge request ynerant/squirrel-battle!23
2020-11-20 18:02:26 +01:00
Yohann D'ANELLO fb3f3ee5e8 Beaver is a tiger 2020-11-20 18:02:08 +01:00
Yohann D'ANELLO ebb5f2e7d3 Documentation on documentation 2020-11-20 17:55:21 +01:00
eichhornchen 6b72f4b284 Added a friendly entity class. 2020-11-20 17:42:56 +01:00
Yohann D'ANELLO 685606fdb6 Documentation on packaging 2020-11-20 17:32:26 +01:00
Nicolas Margulies 7e63607836 Added vertical and horizontal lines as display elements 2020-11-20 16:52:04 +01:00
Nicolas Margulies 62599ea72c Clear menu pads before putting the new text in them, see #15 2020-11-20 16:05:21 +01:00
eichhornchen 84eebfd848 Merge branch 'test' into 'master'
Fix the display of the squirrel emoji on my debian (and maybe all debian distributions)

See merge request ynerant/squirrel-battle!22
2020-11-20 15:57:18 +01:00
eichhornchen 777f155d77 A test 2020-11-20 15:38:01 +01:00
eichhornchen 762fa9acd4 A test 2020-11-20 15:26:02 +01:00
Yohann D'ANELLO d697c50268 Fix badges in README and doc index 2020-11-20 14:29:30 +01:00
ynerant 8a85f58261 Merge branch 'docs' into 'master'
Docs

Closes #13

See merge request ynerant/squirrel-battle!20
2020-11-19 22:57:44 +01:00
ynerant b7207bb738 Merge branch 'game-logs' into 'master'
Game logs, see #12

See merge request ynerant/squirrel-battle!18
2020-11-19 22:48:39 +01:00
Yohann D'ANELLO 5ec4242020 Write rules of the game 2020-11-19 22:47:03 +01:00
Yohann D'ANELLO dd92ac767e We use curses to manage display on terminal 2020-11-19 22:37:34 +01:00
Yohann D'ANELLO fa973cacde Fix table of contents 2020-11-19 22:35:21 +01:00
Yohann D'ANELLO 722dabb6e8 Prepare not-documented pages 2020-11-19 22:32:25 +01:00
Yohann D'ANELLO 6b2e420efe Documentation on maps 2020-11-19 22:21:22 +01:00
Yohann D'ANELLO d4570828e2 Documentation on texture packs 2020-11-19 22:03:48 +01:00
Yohann D'ANELLO 1d8ecf49f9 Put documentation link in README, add some badges 2020-11-19 21:47:36 +01:00
Yohann D'ANELLO eddf04fc36 Fix authors 2020-11-19 21:19:55 +01:00