SkillAgentSearch skills...

Cmdsnake

Simple command line snake game which uses Lanterna library to work with command line interface.

Install / Use

/learn @balent/Cmdsnake
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

cmdsnake

cmdsnake is simple command line snake game. Lanterna library is used to work with command line interface.

To build application:

mvn clean install

To run the game:

mvn exec:java -Dexec.mainClass="cmdsnake.Main"

If you are in graphic environment this will start the game in swing-based command line. To start game in actual command line you are using, execute:

mvn -Djava.awt.headless=true exec:java -Dexec.mainClass="cmdsnake.Main"

To stop and terminate game, press space key.

Player1 keys: a,s,d,w Player2 keys: arrows

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated10mo ago
Forks1

Languages

Java

Security Score

62/100

Audited on May 30, 2025

No findings