ANSI-colored prompt in Java

Reading time ~1 minute

A traditional way to debug programs is to carefully place print-statements here and there. However, as the amount of printed text increases the ability to filter out and understand the important information decreases. For this reasons, I have searched on how to use ANSI color codes in Java and found a nice implementation in Jlibs. Unfortunately this library did way more than what I needed, and therefore I have stripped it down into a small class that wraps a text string to add color codes and attributes. Feel free to use it and thanks a lot to the original author :-)

Running Open AI Gym on Windows 10

[Open AI Gym]( is a fun toolkit for developing and comparing reinforcement learning algorithms. It provides a var...… Continue reading