Skip to content

maxandersen/Java-Christmas-Tree

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Christmas Tree

alt intro-gif

Introduction

This repo contains a fork of Milen Dyankov's Java Christmas Tree written in Java using JBang!

The source code is formatted in the shape of a Christmas Tree. During execution it

  • plays Jingle Bells
  • prints its own code line by line

alt demo

How to get it

It is enough to clone the repo:

git clone https://github.com/maxandersen/Java-Christmas-Tree.git

How to run it on a Unix/Linux/Windows or any OS where Java is available

You need JBang installed and no Java or at least Java 11+ properly configured. Then just

cd Java-Christmas-Tree/
jbang ct.java

How it works

ct.java is a Java program with JBang instruction //DEPS to fetch necessary dependency. You can run it anywhere as long as you have jbang installed.

License

MIT

About

Singing Christmas Tree, implemented in Java.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%