2048 in BQN
Go to file
Rampoina 7665f7a1d7 - Improve Merge function, thanks dzaima!
- Spawn now spawns a random 4 with a 10% chance
- Fix crash when using an invalid key
- Fix cursor not being restored properly
2023-01-03 22:14:03 +01:00
CBQN@982a54d98a Add readme 2023-01-03 20:49:57 +01:00
.gitmodules Add readme 2023-01-03 20:49:57 +01:00
2048.bqn - Improve Merge function, thanks dzaima! 2023-01-03 22:14:03 +01:00
Makefile Add Makefile and submodule 2023-01-03 20:50:23 +01:00
README.md Fix Readme 2023-01-03 20:57:12 +01:00

README.md

A 2048 game made in 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 ./2048.bqn

Otherwise:

  1. make to compile CBQN
  2. make run to run the game

License

This code is licensed as AGPLv3