Compare commits
2 Commits
af85ad5920
...
df4ffee71c
Author | SHA1 | Date |
---|---|---|
Rampoina | df4ffee71c | |
Rampoina | ac5d6efaea |
|
@ -0,0 +1,3 @@
|
|||
[submodule "CBQN"]
|
||||
path = CBQN
|
||||
url = https://github.com/dzaima/CBQN.git
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 982a54d98a4d2a37f40d0cc711b0ad5e396613e3
|
|
@ -0,0 +1,12 @@
|
|||
.PHONY: check-and-reinit-submodules all
|
||||
all: .check-and-reinit-submodules
|
||||
@${MAKE} -C CBQN/ MAKEFLAGS=
|
||||
|
||||
run: 2048.bqn
|
||||
./CBQN/BQN 2048.bqn
|
||||
|
||||
.check-and-reinit-submodules:
|
||||
@if git submodule status | egrep -q '^[-]|^[+]' ; then \
|
||||
echo "INFO: reinitializing git submodules"; \
|
||||
git submodule update --init; \
|
||||
fi
|
|
@ -0,0 +1,23 @@
|
|||
# A 2048 game made in [BQN](https://github.com/mlochbaum/BQN)
|
||||
|
||||
## Controls
|
||||
Vim style movement keys
|
||||
|
||||
- h: left
|
||||
- j: down
|
||||
- k: up
|
||||
- l: right
|
||||
- q: quit
|
||||
|
||||
## Running
|
||||
|
||||
If you already have BQN and you have it on your path just run `./soko.bqn`
|
||||
|
||||
Otherwise:
|
||||
|
||||
1. `make` to compile CBQN
|
||||
2. `make run` to run the game
|
||||
|
||||
## License
|
||||
|
||||
This code is licensed as AGPLv3
|
Loading…
Reference in New Issue