1
0
Fork
You've already forked command-line-snake-js
0
An old Snake game implementation I found lying around
  • TypeScript 100%
2026年04月27日 02:37:49 +03:00
src better or worse frame 2024年11月14日 13:39:21 +02:00
.gitignore Initial commit 2024年11月13日 17:15:53 +02:00
package-lock.json Initial commit 2024年11月13日 17:15:53 +02:00
package.json Initial commit 2024年11月13日 17:15:53 +02:00
README.md publish 2026年04月27日 02:37:49 +03:00
tsconfig.json snake class 2024年11月13日 18:47:35 +02:00

Command Line Snake

(an old project I found lying around untouched for 1.5 years and decided it is not too embarrassing to publish (licensed under the EUPL btw), to show how much better I am now at programming (im not))

The classic Snake game implemented in TypeScript for the command line

Usage

First, download the code

git clone https://codeberg.org/rdsq/command-line-snake-js
cd command-line-snake-js

Then run it using your JavaScript runtime

Node.js

tsc # Compile TypeScript
node out/index.js

Deno

deno run src/index.ts

Bun

bun src/index.ts