blob: e3081319297be7ff1f5ebfb1e8e344fd23180a7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
* Game
You play Nance, a homeless human on cold day in some bustling metropolis. Your
task is to stay warm and stay healthy.
People pass you by and you can ask them for a little change as the do. You
must walk up to them in order to ask! _But be careful!_ You don't want to bump
into anybody! Bumping into people is stressful, and besides, somebody might
call the cops.
Some people are jerks, so watch out - you don't want to get too stressed.
When you have enough money, you can go to the shop and buy coffee to warm you
up and chill you out a little. When you have a full pocket, you can buy
something to eat and advance to the next level.
** Controls
Use arrow keys to move.
Use the spacebar to ask people or to buy coffee or food when you're in front
of the shop's door.
* Building
So far I have built this using [[https://shinmera.github.io/deploy/][deploy]], which has worked quite well.
** Requirements
- sdl2
- sdl2-image
- [[https://github.com/thegoofist/animise][animise]]
Ensure that [[https://www.libsdl.org/][sdl2]] is installed on your system and install [[http://quickdocs.org/cl-sdl2/][cl-sdl2]] and
[[http://quickdocs.org/cl-sdl2-image/][cl-sdl2-image]] via quicklisp.
[[https://github.com/thegoofist/animise][animise]] is a tweening library that, at the time of writing, is not fit for
stable release.
Clone animise into your =~/quicklisp/local-projects= and checkout commit
=aeb013df855052aec8a5199f82d9725be6d99c1b=.
Then clone the game's repo into =~/quicklisp/local-projects=.
** Using Deploy
Once requirements are installed, building should be as simple as:
#+begin_src
$ cd ~/quicklisp/local-projects
$ sbcl
...
> (ql:quickload :the-price-of-a-cup-of-coffee)
> (asdf:make :the-price-of-a-cup-of-coffee)
$ ./bin/price-of-coffee
#+end_src
* Credit and Licenses
+ Design and Code by :: [[https://github.com/thegoofist/][The Goofist]] under the [[./LICENSE][GNU Public License version 3]].
+ Art by :: _Ct_ under a [[https://creativecommons.org/licenses/by-nc-sa/4.0/][Attribution Non-Commercial Share Alike 4.0]] Creative Commons License.
+ Musics by :: [[https://github.com/gcentauri][gcentauri]] under a [[https://creativecommons.org/licenses/by-nc-sa/4.0/][Attribution Non-Commercial Share Alike 4.0]] Creative Commons License.
+ Emoji by :: [[https://openmoji.org][OpenMoji]] under a [[https://creativecommons.org/licenses/by-sa/4.0/][Attribution Share Alike 4.0]] Creative Commons License
|