Skip to content

Application creating Christmas card based on ASCII Art [2016]

License

Notifications You must be signed in to change notification settings

plkpiotr/christmas-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Christmas Tree

Graphical User Interface

Description

Cross-platform, console application written in a contest organised by polish programming forum [Forum Pasja Informatyki] at Christmas in 2016. Participants' job was to create program, script or website showing image or animation in the style of ASCII Art in one of programming languages. The application was in the second place from among a dozen projects.

Technologies

  • C++:
    • Standard library [iostream, fstream, iomanip]
    • Object-oriented programming
    • [-std=c++11]

Features

  • Decorating the Christmas tree with:
    • star
    • chains
    • glass balls
    • candies
    • lights
  • Putting gifts dedicated to loved ones under the tree
  • Possibility of exporting Christmas card to text file

Software tools

  • Code::Blocks 16.01
  • Notepad++ 6.8.7

Project structure

  • tree.h
  • tree.cpp
  • floor.h
  • floor.cpp
  • main.cpp

How to run?

You can launch application for example in different three ways:

  • Download executable file .exe from releases-windows [option for Windows] and then set convenient size font's and size console's [I recommend Window Size 47x60 for Consolas Bold 14]
  • Download Makefile with source code from releases-linux [option for Linux] and then enter into terminal:
    make
    ./christmass-tree
  • Download only source code and build project in some kind of IDE on your own

Comments

Condition of correct display is setting monospaced font in the terminal and text file after exporting.

Links

Results of the contest

License

Apache Licence 2.0